Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Andy Webb
hi Fiz, I think the BooleanSimilarityFactory is what you're looking for here - see https://solr.apache.org/guide/8_11/other-schema-elements.html#similarity and https://solr.apache.org/docs/8_11_1/solr-core/index.html?org/apache/solr/search/similarities/BooleanSimilarityFactory.html (I added this

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Thomas Corthals
You can tweak the parameters of BM25 similarity: https://solr.apache.org/docs/8_1_1/solr-core/org/apache/solr/search/similarities/BM25SimilarityFactory.html IIRC, the similarity becomes a constant with k1 = 0. 0 Thomas Op do 14 apr. 2022 om 15:51 schreef Vincenzo D'Amore : >

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Vincenzo D'Amore
https://github.com/freedev/solr-constant-similarity this is just an implementation of what Markus was suggesting. Could be a good idea adding a constant similarity class into the solr standard distribution. On Thu, Apr 14, 2022 at 3:48 PM Vincenzo D'Amore wrote: > Hi, > > long time ago I wrote

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Vincenzo D'Amore
Hi, long time ago I wrote this, just trying to handle cases where there is no need TF/IDF https://github.com/freedev/solr-constant-similarity There just two simple steps to follow: 1. Add this line in solrconfig.xml: 1. And add this line into schema.xml:

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Jeremy Buckley - IQ-C
You may be interested in the ^= modifier for queries. From the reference guide: Constant Score with "^=" Constant score queries are created with ^=, which sets the entire clause to the specified score for any documents matching that clause. This is desirable when you only care about matches for

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread cau-reply2
No es posible recibir su consulta por este medio. Para que nos llegue correctamente debe usar la aplicación CAU: http://cau.uca.es/ Agredeciendo su colaboración. Saludos Aplicación CAU http://cau.uca.es/

Re: SOLR TF/IDF factor removal.

2022-04-14 Thread Markus Jelsma
Hello Fiz, Are you sure you are using TF*IDF? It is no longer the default function in Solr 8. Anyway, if you do, you can implement a custom TFIDFSimilarity [1] and return just 1.0 for the idf() and tf() functions. Regards, Markus [1] https://lucene.apache.org/core/8_0_0/core/org/apache/lucene/se

SOLR TF/IDF factor removal.

2022-04-14 Thread Fiz N
Hello Experts, In our project we are using SOLR 8.11.1 in Standalone mode in Windows server box. We have implemented a search mechanism by using pure keyword match and boosting the keywords as per business needs. For each search result, match percentage is derived using the obtained SOLR document