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

Allow FuzzySlop customization in classic QueryParser

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.2, 6.0
    • Component/s: modules/queryparser
    • Labels:
      None
    • Lucene Fields:
      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-raw.patch
          5 kB
          Florian Schilling
        3. LUCENE-4745-full.patch
          26 kB
          Florian Schilling
        4. LUCENE-4745-raw.patch
          5 kB
          Florian Schilling

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: