Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-74

Improve efficiency of FieldPosting.getFieldLengths() for field-based models

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: .structures
    • Labels:
      None

      Description

      Currently FieldPosting.getFieldLengths() involves a disk seek. We should have a document index which loads the field lengths into memory.

        Attachments

          Activity

          Hide
          craigm Craig Macdonald added a comment -

          Committed to trunk for CORE: people using field-based models should specify FSAFieldDocumentIndex as their DocumentIndex implementation in the data.properties file

          Show
          craigm Craig Macdonald added a comment - Committed to trunk for CORE: people using field-based models should specify FSAFieldDocumentIndex as their DocumentIndex implementation in the data.properties file

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              craigm Craig Macdonald
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: