Re: ShingleFilter failing with more terms than index phrase

2010-07-14 Thread Ethan Collins
> Trying to analyze PositionFilter: didn't understand why earlier the > search of 'Nina Simone I Put' failed since atleast the phrase 'Nina > Simone' should have matched against title_0 field. Any clue? Please note that I have configure the ShingleFilter as bigrams without unigrams. [Honestly, I

Re: ShingleFilter failing with more terms than index phrase

2010-07-14 Thread Ethan Collins
Hi Steve, Thanks, wrapping with PositionFilter actually worked the search and score -- I made a mistake while re-indexing last time. Trying to analyze PositionFilter: didn't understand why earlier the search of 'Nina Simone I Put' failed since atleast the phrase 'Nina Simone' should have matched

Re: ShingleFilter failing with more terms than index phrase

2010-07-14 Thread Ethan Collins
>> -Original Message- >> From: Ethan Collins [mailto:collins.eth...@gmail.com] >> Sent: Tuesday, July 13, 2010 3:42 AM >> To: java-user@lucene.apache.org >> Subject: ShingleFilter failing with more terms than index phrase >> >> I am using lucene 2.9.3

RE: ShingleFilter failing with more terms than index phrase

2010-07-13 Thread Steven A Rowe
- > From: Ethan Collins [mailto:collins.eth...@gmail.com] > Sent: Tuesday, July 13, 2010 3:42 AM > To: java-user@lucene.apache.org > Subject: ShingleFilter failing with more terms than index phrase > > I am using lucene 2.9.3 (via Solr 1.4.1) on windows and am trying to > understa

ShingleFilter failing with more terms than index phrase

2010-07-13 Thread Ethan Collins
I am using lucene 2.9.3 (via Solr 1.4.1) on windows and am trying to understand ShingleFilter. I wrote the following code and find that if I provide more words than the actual phrase indexed in the field, then the search on that field fails (no score found with debugQuery=true). Here is an example