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

Add fuzziness support to SimpleQueryParser

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.7
    • 4.7, 6.0
    • core/queryparser
    • None
    • 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
          24 kB
          Robert Muir
        2. LUCENE-5410.patch
          16 kB
          Lee Hinman
        3. LUCENE-5410.patch
          13 kB
          Lee Hinman
        4. LUCENE-5410.patch
          19 kB
          Lee Hinman

        Activity

          People

            rcmuir Robert Muir
            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