Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, 6.0
    • Component/s: modules/spellchecker
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Our current suggester impls do prefix matching of the incoming text
      against all compiled suggestions, but in some cases it's useful to
      allow infix matching. E.g, Netflix does infix suggestions in their
      search box.

      I did a straightforward impl, just using a normal Lucene index, and
      using PostingsHighlighter to highlight matching tokens in the
      suggestions.

      I think this likely only works well when your suggestions have a
      strong prior ranking (weight input to build), eg Netflix knows
      the popularity of movies.

        Attachments

        1. LUCENE-4845.patch
          17 kB
          Michael McCandless
        2. LUCENE-4845.patch
          25 kB
          Michael McCandless
        3. LUCENE-4845.patch
          12 kB
          Robert Muir
        4. LUCENE-4845.patch
          26 kB
          Michael McCandless
        5. LUCENE-4845.patch
          46 kB
          Michael McCandless
        6. LUCENE-4845.patch
          50 kB
          Michael McCandless
        7. infixSuggest.png
          166 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: