Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4, master
    • 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development