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

          Erik Hatcher created issue -
          Jeff Turner made changes -
          Field Original Value New Value
          issue.field.bugzillaimportkey 34486 12314525
          Michael Busch made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          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.
          Luis Alves made changes -
          Link This issue is part of LUCENE-1823 [ LUCENE-1823 ]
          Mark Miller made changes -
          Assignee Lucene Developers [ java-dev@lucene.apache.org ] Luis Alves [ lafa ]
          Mark Thomas made changes -
          Workflow jira [ 12324530 ] Default workflow, editable Closed status [ 12562694 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12562694 ] jira [ 12583627 ]
          Hide
          Erick Erickson added a comment -

          2013 Old JIRA cleanup

          Show
          Erick Erickson added a comment - 2013 Old JIRA cleanup
          Erick Erickson made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Erick Erickson made changes -
          Resolution Won't Fix [ 2 ]
          Status Resolved [ 5 ] Reopened [ 4 ]

            People

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

              Dates

              • Created:
                Updated:

                Development