RE: Solr 6 and IDF

2017-08-08 Thread Markus Jelsma
ood <wun...@wunderwood.org> > Sent: Tuesday 8th August 2017 23:41 > To: solr-user@lucene.apache.org > Subject: Re: Solr 6 and IDF > > There are good use cases for disabling idf and even tf for labels and > categories. > > Searching resumes, maybe you care that “

Re: Solr 6 and IDF

2017-08-08 Thread Walter Underwood
ter Homer <webster.ho...@sial.com> >> Sent: Tuesday 8th August 2017 23:04 >> To: solr-user@lucene.apache.org >> Subject: Re: Solr 6 and IDF >> >> I think just disabling idf is what we want. For product searching we really >> don't want to raise a rarer ma

RE: Solr 6 and IDF

2017-08-08 Thread Markus Jelsma
; To: solr-user@lucene.apache.org > Subject: Re: Solr 6 and IDF > > I think just disabling idf is what we want. For product searching we really > don't want to raise a rarer match. What we see analyzing results is that > some good hits are suppressed, have lower scores, due to idf. >

Re: Solr 6 and IDF

2017-08-08 Thread Webster Homer
or tf? And > while you're at it, also omitNorms on all fields entirely? > > I am curious if this is going to help you, please let us know! > > -Original message- > > From:Webster Homer <webster.ho...@sial.com> > > Sent: Tuesday 8th August 2017 22:44 > >

RE: Solr 6 and IDF

2017-08-08 Thread Markus Jelsma
if this is going to help you, please let us know! -Original message- > From:Webster Homer <webster.ho...@sial.com> > Sent: Tuesday 8th August 2017 22:44 > To: solr-user@lucene.apache.org > Subject: Re: Solr 6 and IDF > > It appears that all I need to do is creat

Re: Solr 6 and IDF

2017-08-08 Thread Webster Homer
It appears that all I need to do is create a class that extends BM25Similarity, and have the new class return 1 as the idf. Is that correct? On Tue, Aug 8, 2017 at 3:15 PM, Webster Homer wrote: > I do want to use BM25, just disable IDF > > On Tue, Aug 8, 2017 at 2:58 PM,

Re: Solr 6 and IDF

2017-08-08 Thread Webster Homer
I do want to use BM25, just disable IDF On Tue, Aug 8, 2017 at 2:58 PM, Peter Lancaster < peter.lancas...@findmypast.com> wrote: > Hi Webster, > > If you're not worried about using BM25 searcher then you should just be > able to continue as you were before by providing your own similarity class

RE: Solr 6 and IDF

2017-08-08 Thread Peter Lancaster
Hi Webster, If you're not worried about using BM25 searcher then you should just be able to continue as you were before by providing your own similarity class that extends ClassicSimilarity and then override the idf method to always return 1, then reference that in your schema e.g. As far