Hi, I have just noticed that "1-954-612-1276" (phrase query) works but a search for 1-954-612-1276 is returning all documents I have probably because in the latter case, lucene searcher is treating the "-" as exclusion. Is this correct? Thanks, Aruna.
-----Original Message----- From: Aruna Raghavan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 10:48 AM To: Lucene Users List Subject: Phone number Searches Hello All, I tried doing a search for a phone number 1-954-612-1276. It worked fine. I am using a StandardAnalyzer for both indexing and searching. From looking at StandardTokenizer.jj and StandardAnalyzer, "-" is a valid character. So, how is this differentiated from "-" that we use for exclusion such as +(dog)-(cat) i.e, all dogs but no cats? Thanks! Aruna. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
