RE: How to set discountOverlaps="true" in Solr 4x schema.xml

2013-08-23 Thread Markus Jelsma
: How to set discountOverlaps="true" in Solr 4x > schema.xml > > I should have said that I have set it both to "true" and to "false" and > restarted Solr each time and the rankings and info in the debug query > showed no change. > > Does this have to be set at index time? > > Tom > > > > > >

Re: How to set discountOverlaps="true" in Solr 4x schema.xml

2013-08-22 Thread Tom Burton-West
I should have said that I have set it both to "true" and to "false" and restarted Solr each time and the rankings and info in the debug query showed no change. Does this have to be set at index time? Tom >

Re: How to set discountOverlaps="true" in Solr 4x schema.xml

2013-08-22 Thread Tom Burton-West
Thanks Markus, I set it , but it seems to make no difference in the score or statistics listed in the debugQuery or in the ranking. I'm using a field with CommonGrams and a huge list of common words, so there should be a huge difference in the document length with and without discountOverlaps.

RE: How to set discountOverlaps="true" in Solr 4x schema.xml

2013-08-22 Thread Markus Jelsma
Hi Tom, Don't set it as attributes but as lists as Solr uses everywhere: true For BM25 you can also set k1 and b which is very convenient! Cheers -Original message- > From:Tom Burton-West > Sent: Thursday 22nd August 2013 22:42 > To: solr-user@lucene.apache.org > Subject: How to