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

Allow QP subclasses to support Wildcard Queries with leading "*"

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: core/queryparser
    • Labels:
      None
    • Lucene Fields:
      Patch Available

      Description

      It would be usefull for some users if the logic that prevents QueryParser from creating WIldcardQueries with leading wildcard characters ("?" or "*") be moved from the grammer into the base implimentation of getWildcardQuery so that it may be overridden in subclasses without needing to modifiy the grammer directly.

        Attachments

        1. LUCENE-489.patch
          24 kB
          Steven Parkes
        2. LUCENE-489.patch
          22 kB
          Steven Parkes
        3. qp.diff
          30 kB
          Daniel Naber

          Activity

            People

            • Assignee:
              otis Otis Gospodnetic
              Reporter:
              nightrider Peter Schäfer
            • Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: