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

New Dictionary Implementation for Suggester consumption

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • core/search
    • None
    • New, Patch Available

    Description

      With the vast array of new suggester, It would be nice to have a dictionary implementation that could feed the suggesters terms, weights and (optionally) payloads from the lucene index.

      The idea of this dictionary implementation is to grab stored documents from the index and use user-configured fields for terms, weights and payloads.

      use-case: If you have a document with three fields

      • product_id
      • product_name
      • product_popularity_score

      then using this implementation would enable you to have a suggester for product_name using the weight of product_popularity_score and return you the payload of product_id, with which you can do further processing on (example: construct a url etc).

      Attachments

        1. LUCENE-5251.patch
          18 kB
          Areek Zillur
        2. LUCENE-5251.patch
          13 kB
          Areek Zillur
        3. LUCENE-5251.patch
          14 kB
          Areek Zillur
        4. LUCENE-5251.patch
          14 kB
          Areek Zillur

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: