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

Add fuzziness support to SimpleQueryParser

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7, 6.0
    • Component/s: core/queryparser
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      It would be nice to add fuzzy query support to the SimpleQueryParser so that:

      foo~2

      generates a FuzzyQuery with an max edit distance of 2 and:

      "foo bar"~2

      generates a PhraseQuery with a slop of 2.

        Attachments

        1. LUCENE-5410.patch
          19 kB
          Lee Hinman
        2. LUCENE-5410.patch
          13 kB
          Lee Hinman
        3. LUCENE-5410.patch
          16 kB
          Lee Hinman
        4. LUCENE-5410.patch
          24 kB
          Robert Muir

          Activity

            People

            • Assignee:
              rcmuir Robert Muir
              Reporter:
              dakrone Lee Hinman
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified