You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2003/01/13 15:28:13 UTC

DO NOT REPLY [Bug 16025] New: - QueryParser throws ParseException with fuzzy search

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16025>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16025

QueryParser throws ParseException with fuzzy search

           Summary: QueryParser throws ParseException with fuzzy search
           Product: Lucene
           Version: 1.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: QueryParser
        AssignedTo: lucene-dev@jakarta.apache.org
        ReportedBy: d.allsopp@signal.qinetiq.com


The QueryParser sometimes throws an exception when using fuzzy search. This 
appears to happen whenever it can't find any matches. For example, in my 
application it works fine for "super~" but not "supernova~", and works for 
"etc~" and "etcs~" but not "et~" or "etcss~":

org.apache.lucene.queryParser.ParseException: Lexical error at line 1, column 7.
  Encountered: <EOF> after : ""

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>