Re: DisjunctionMaxQuery and scoring

2012-04-19 Thread David Murgatroyd
On Apr 19, 2012, at 6:36 PM, Benson Margulies wrote: > I see why I'm so confused, but I think I need to construct a simpler test > case. > > My top-level BooleanQuery, which has disableCoord=false, has 22 > clauses. All but three are ordinary SHOULD TermQueries. the remainder > are a spanNe

Re: DisjunctionMaxQuery and scoring

2012-04-19 Thread David Murgatroyd
[apologies for the earlier errant send] I think BooleanQuery bq = new BooleanQuery(false); doesn't quite accomplish the desired "name IN (dick, rich)" scoring behavior. This is because (name:dick | name:rich) with coord=false would score the 'document' "Dick Rich" higher than "Rich" because the f

Re: How to handle words that stem to stop words

2014-07-07 Thread David Murgatroyd
rom the web.) The work integrating OpenNLP <https://issues.apache.org/jira/browse/LUCENE-2899> might also prove helpful. Best, David Murgatroyd ww.linkedin.com/in/dmurga/ <http://www.linkedin.com/in/dmurga/> [image: Inline image 1] On Mon, Jul 7, 2014 at 5:53 PM, Sujit Pal wrote: &g