Re: DisMax Syntax

2008-01-16 Thread Chris Hostetter
: I may be mistaken, but this is not equivalent to my query.In my query i have : matches for x1, matches for x2 without slope and/or boosting and then match : to "x1 x2" (exact match) with slope (~) a and boost (b) in order to have : results with exact match score better. : The total score is the

Re: DisMax Syntax

2008-01-08 Thread s d
I may be mistaken, but this is not equivalent to my query.In my query i have matches for x1, matches for x2 without slope and/or boosting and then match to "x1 x2" (exact match) with slope (~) a and boost (b) in order to have results with exact match score better. The total score is the sum of all

Re: DisMax Syntax

2008-01-08 Thread Chris Hostetter
: User Query: x1 x2 : Desired query (Lucene): field:x1 x2 field:"x1 x2"~a^b : : In the standard handler the only way i saw how to make this work was: : field:x1 field:x2 field:"x1 x2"!a^b : : Now that i want to try the DisMax is there a way to implement this without : having duplicate fields? i.

Re: DisMax Syntax

2008-01-08 Thread Yonik Seeley
Please see http://wiki.apache.org/solr/DisMaxRequestHandler -Yonik On Jan 8, 2008 2:40 PM, s d <[EMAIL PROTECTED]> wrote: > User Query: x1 x2 > Desired query (Lucene): field:x1 x2 field:"x1 x2"~a^b > > In the standard handler the only way i saw how to make this work was: > field:x1 field:x2 field