Re: Unexpected results searching for phrase with stop words

2009-11-12 Thread Simon Wistow
On Thu, Nov 12, 2009 at 09:20:30PM +0100, Uwe Schindler said: > Which version of Lucene are you using and which Version constant do you pass > to Analyzer and Query Parser? In 2.9.0 there was a bug/incorrect setting > between the query parser and the Version.LUCENE_CURRENT / Version.LUCENE_29 > set

RE: Unexpected results searching for phrase with stop words

2009-11-12 Thread Uwe Schindler
il: u...@thetaphi.de > -Original Message- > From: Simon Wistow [mailto:si...@thegestalt.org] > Sent: Thursday, November 12, 2009 9:00 PM > To: Lucene > Subject: Unexpected results searching for phrase with stop words > > I have a document with the title "Here, there be

Re: Unexpected results searching for phrase with stop words

2009-11-12 Thread Erick Erickson
Yes, you're doing something wrong . What, you may ask? Well, it's kind of hard to say without knowing what analyzers you use at index AND query time and what the query you're submitting looks like... But the very first thing I'd try is to get a copy of Luke and peek at your index to see if what yo

Unexpected results searching for phrase with stop words

2009-11-12 Thread Simon Wistow
I have a document with the title "Here, there be dragons" and a body. When I search for Here, there be dragons (no quotes) with a title boost of 2.0 and a body boost of 0.8 I get the document as the first hit which is what I'd expect. However, if change the query to "Here, there be dragons"