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

WildcardQuery do not find documents if leading and trailing * is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.9, 2.0.0, 2.1
    • None
    • core/search
    • None
    • New

    Description

      I indexed a document which contains the word "business".

      If i use query "business" then document will be found.
      If i use query "busines*" then document will be found.
      If i use query "*usiness" then document will be found.
      If i use query "*usines?" then document will be found.
      If i use query "?usines?" then document will be found.

      But if i use query "usines" then document will not be found.

      if i use query "usi*nes" then document will be found.

      Attachments

        Issue Links

          Activity

            People

              doronc Doron Cohen
              lulog1 Michael Schlegel
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: