Lucene - Core
  1. Lucene - Core
  2. LUCENE-375

fish*~ parses to PrefixQuery - should be a parse exception

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: core/queryparser
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      QueryParser parses "fish*~" into a "fish*" PrefixQuery and silently drops the ~. This really should be a
      parse exception.

        Issue Links

          Activity

          Hide
          Luis Alves added a comment -

          I just implement this a few weeks ago into the new queryparser, to be backward compatible

          I'll fix it in LUCENE-1823 for the new queryparser.

          You can assign this to me, if the fix for the new query parser is good enough.

          Show
          Luis Alves added a comment - I just implement this a few weeks ago into the new queryparser, to be backward compatible I'll fix it in LUCENE-1823 for the new queryparser. You can assign this to me, if the fix for the new query parser is good enough.
          Hide
          Erick Erickson added a comment -

          2013 Old JIRA cleanup

          Show
          Erick Erickson added a comment - 2013 Old JIRA cleanup

            People

            • Assignee:
              Luis Alves
              Reporter:
              Erik Hatcher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development