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

http://issues.apache.org/bugzilla/show_bug.cgi?id=35822

           Summary: Escaping special characters in Query doesn't return
                    correct results.
           Product: Lucene
           Version: 1.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Search
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I was using the sample code available with the download and I added in two 
files:

FileOne with text: tina
FileTwo with text: ~tina

I was trying the Searcher.java (sample code) and trying to search for "\\~tina"
(match only documents containing the exact text ~tina). And lucene always
reports hits in both the documents.

I tried Standard, Simple and Whitespace Analyzers with the QueryParser and with
all of them the result is the same.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to