Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6880

Add document oriented collector for NRTSuggester

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 6.7, 7.0
    • None
    • None
    • New, Patch Available

    Description

      Currently NRTSuggester collects completions iteratively as they are accepted by the TopNSearcher, implying that a document can be collected more than once. In case of indexing a completion with multiple context values, the completion leads to num_context paths in the underlying FST for the same docId and gets collected num_context times, when a query matches all its contexts.

      Ideally, a document-oriented collector will collect top N documents instead of top N completions by handling the docId deduplication while collecting the completions. This could be used to collect n unique documents that matched a completion query.

      Attachments

        1. LUCENE-6880.patch
          38 kB
          Areek Zillur

        Activity

          People

            areek Areek Zillur
            areek Areek Zillur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: