Re: Oddness with Phrase Query

2009-11-23 Thread Simon Wistow
On Mon, Nov 23, 2009 at 12:10:42PM -0800, Chris Hostetter said: > ...hmm, you shouldn't have to reindex everything. arey ou sure you > restarted solr after making the enablePositionIncrements="true" change to > the query analyzer? Yup - definitely restarted > what do the offsets look like whe

Re: Oddness with Phrase Query

2009-11-23 Thread Chris Hostetter
: ?q="Here there be dragons" : &qt=dismax : &qf=title ... : +DisjunctionMaxQuery((title:"here dragon")~0.01) () ...the quotes cause the entire string to be passed to the analyzer for the title field and the resulting Tokens are used to construct a phrase query. : ?q=Here there be drago

Re: Oddness with Phrase Query

2009-11-17 Thread Simon Wistow
On Tue, Nov 17, 2009 at 11:09:38AM -0800, Chris Hostetter said: > > Several things about your message don't make sense... Hmm, sorry - a byproduct of building up the mail over time I think. The query ?q="Here there be dragons" &fl=id,title,score &debugQuery=on &qt=dismax &qf=title gets echoed

Re: Oddness with Phrase Query

2009-11-17 Thread Chris Hostetter
Several things about your message don't make sense... 1) the field names listed in your "qf" don't match up to the field names in the generated query.toString() ... suggesting that they come from differnet examples 2) the query.toString() output from each of your queries are identicle, and ye

Oddness with Phrase Query

2009-11-09 Thread Simon Wistow
I have a document with the title "Here, there be dragons" and a body. When I search for q = Here, there be dragons qf = title^2.0 body^0.8 qt = dismax Which is parsed as +DisjunctionMaxQuery((content:"here dragon"^0.8 | title:"here dragon"^2.0)~0.01) () I get the document as the first hit