RE: Newbie Phrase Query question

2004-02-05 Thread Scott Smith
for 1.4. ;-) -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 03, 2004 8:26 PM To: Lucene Users List Subject: Re: Newbie Phrase Query question The best suggestion I have is to look at the code in my first java.net article (Intro Lucene) and borrow

Re: Newbie Phrase Query question

2004-02-05 Thread Erik Hatcher
On Feb 5, 2004, at 8:19 PM, Scott Smith wrote: There is a minor issue I found that I think works as documented, but wonder why it's that way. If you enter a search string that's a hyphenated word such as fred-bill (w/o the quotes), the QueryParser generates a search string to find all documents

Newbie Phrase Query question

2004-02-03 Thread Scott Smith
I'm having problems searching for an exact match with a phrase. Essentially, I think my problem is that the tokenizer is tossing the double quotes around the phrase, tokenizing each word and so I end up with the document hit I want plus several more I don't (the latter having some of the words,

Re: Newbie Phrase Query question

2004-02-03 Thread Erik Hatcher
The best suggestion I have is to look at the code in my first java.net article (Intro Lucene) and borrow the Analyzer utility code to see what happens to a sample string as it is analyzed. Then pass that same string to QueryParser (along with the same analyzer) and see what the