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

Allow FuzzySlop customization in classic QueryParser

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1
    • 4.2, 6.0
    • modules/queryparser
    • None
    • New, Patch Available

    Description

      It turns out searching arbitrary fields with define FUZZY_SLOP values could be problematic on some types of values. For example a FUZZY_SLOP on dates is ambiguous and needs a definition of a unit like months, days, minutes, etc. An extension on the query grammar that allows some arbitrary text behind the values in combination with a possibility to override the method parsing those values could solve these kinds of problems.

      Attachments

        1. LUCENE-4745-full.patch
          26 kB
          Florian Schilling
        2. LUCENE-4745-full.patch
          26 kB
          Florian Schilling
        3. LUCENE-4745-raw.patch
          5 kB
          Florian Schilling
        4. LUCENE-4745-raw.patch
          5 kB
          Florian Schilling

        Activity

          People

            simonw Simon Willnauer
            chilling Florian Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: