the ~2 is the mm parameter I'm pretty sure. So I'd guess your configuration has a mm parameter set on the core that isn't doing what you want......
Best Erick On Tue, Jul 17, 2012 at 3:05 PM, Richard Frovarp <rfrov...@apache.org> wrote: > On 07/14/2012 05:32 PM, Erick Erickson wrote: >> >> Really hard to say. Try executing your query on the cores with >> &debugQuery=on and compare the parsed results (for this you >> can probably just ignore the explain bits of the output, concentrate >> on the parsed query). >> > > Okay, for the example core from the project, the query was: > > test OR samsung > > parsedquery: > +(DisjunctionMaxQuery((id:test^10.0 | text:test^0.5 | cat:test^1.4 | > manu:test^1.1 | name:test^1.2 | features:test | sku:test^1.5)) > DisjunctionMaxQuery((id:samsung^10.0 | text:samsung^0.5 | cat:samsung^1.4 | > manu:samsung^1.1 | name:samsung^1.2 | features:samsung | sku:samsung^1.5))) > > For my core the query was: > > frovarp OR fee > > parsedquery: > > +((DisjunctionMaxQuery((content:fee | title:fee^5.0 | mainContent:fee^2.0)) > DisjunctionMaxQuery((content:frovarp | title:frovarp^5.0 | > mainContent:frovarp^2.0)))~2) > > What is that ~2? That's the difference. The third core that works properly > also doesn't have the ~2.