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

Should reverse metakeys not include docno by default?

    Details

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

      Description

      Indexing for the metaindex is very slow when reverse keys are needed. We only need this for relevance feedback, so it should be disabled by default - c.f. trec_setup??

        Attachments

          Activity

          Hide
          richardm Richard McCreadie added a comment -

          Seems a reasonable change, since reverse lookups are not needed in normal search applications and not all documents will have docnos.

          Altered the defaults during indexing in Indexer, Hadoop indexing, and the structure merger to omit docno. Altered the unit tests to specify docno as a reverse key when indexing so that they don't break.

          Committed r3872

          Show
          richardm Richard McCreadie added a comment - Seems a reasonable change, since reverse lookups are not needed in normal search applications and not all documents will have docnos. Altered the defaults during indexing in Indexer, Hadoop indexing, and the structure merger to omit docno. Altered the unit tests to specify docno as a reverse key when indexing so that they don't break. Committed r3872
          Hide
          richardm Richard McCreadie added a comment -

          Unit tests pass.

          Show
          richardm Richard McCreadie added a comment - Unit tests pass.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: