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

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

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • core/queryparser
    • None
    • 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. qp.diff
          30 kB
          Daniel Naber
        2. LUCENE-489.patch
          22 kB
          Steven Parkes
        3. LUCENE-489.patch
          24 kB
          Steven Parkes

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: