Re: Phrase Query query

2006-03-28 Thread Richard Gunderson
Hi Otis Thanks for the information. I'm actually writing something to search files containing code (such as JSP files) so I do expect there will be a few problems like this because I guess Lucene's out-of-the box analyzers are really suited to natural languages. But, I was wondering if you could

Re: Phrase Query query

2006-03-27 Thread Otis Gospodnetic
!Character.isWhitespace(c); } Otis - Original Message From: Richard Gunderson <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Monday, March 27, 2006 10:56:18 AM Subject: Phrase Query query Hi I'm using PhraseQuery in conjunction with WhiteSpaceAnalyzer but it's giving me

Phrase Query query

2006-03-27 Thread Richard Gunderson
Hi I'm using PhraseQuery in conjunction with WhiteSpaceAnalyzer but it's giving me slightly unusual results. If I have a text file containing the text (quotes are just for clarity): "Hello this is some text" I don't find any results when I search. But if I put spaces before and after the phras