Re: Debugging/scoring question
Well, first you have to be using that similarity ;) Since Solr 6.0, BM25 has been the default similarity algorithm. If you insist, you can modify the score with function queries, see the docfreq method. Best, Erck On Wed, May 23, 2018 at 12:17 PM, LOPEZ-CORTES Mariano-ext wrote: > Yes. This make sense. > > I guess you talk about this doc: > > https://lucene.apache.org/core/6_0_1/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html > > How I can decrease the effect of the IDF component in my query? > > Thanks!! > > -Message d'origine- > De : Alessandro Benedetti [mailto:a.benede...@sease.io] > Envoyé : mercredi 23 mai 2018 18:05 > À : solr-user@lucene.apache.org > Objet : Re: Debugging/scoring question > > Hi Mariano, > From the documentation : > > docCount = total number of documents containing this field, in the range [1 > .. {@link #maxDoc()}] > > In your debug the fields involved in the score computation are indeed > different ( nomUsageE, prenomE) . > > Does this make sense ? > > Cheers > > > > - > --- > Alessandro Benedetti > Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
RE: Debugging/scoring question
Yes. This make sense. I guess you talk about this doc: https://lucene.apache.org/core/6_0_1/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html How I can decrease the effect of the IDF component in my query? Thanks!! -Message d'origine- De : Alessandro Benedetti [mailto:a.benede...@sease.io] Envoyé : mercredi 23 mai 2018 18:05 À : solr-user@lucene.apache.org Objet : Re: Debugging/scoring question Hi Mariano, >From the documentation : docCount = total number of documents containing this field, in the range [1 .. {@link #maxDoc()}] In your debug the fields involved in the score computation are indeed different ( nomUsageE, prenomE) . Does this make sense ? Cheers - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Re: Debugging/scoring question
Hi Mariano, >From the documentation : docCount = total number of documents containing this field, in the range [1 .. {@link #maxDoc()}] In your debug the fields involved in the score computation are indeed different ( nomUsageE, prenomE) . Does this make sense ? Cheers - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html