Re: change the ranking function

2018-07-27 Thread Shawn Heisey
On 7/25/2018 10:46 PM, Reem wrote: The way I found to change the ranking function is by setting the similarity property of text fields in schema.xml as follows: `` However, this means we can only set the similarity/ranking function only in indexing time. As Solr is built over Lucene which

Re: change the ranking function

2018-07-27 Thread Joël Trigalo
similarity to the new field in order to be able to change similarity for every query. If someone has a better idea, I am also interested. On Thu, Jul 26, 2018 at 8:51 AM Reem wrote: > Hello, > > Is it possible to change the ranking function (e.g., BM25Similarity, > Class

change the ranking function

2018-07-25 Thread Reem
Hello, Is it possible to change the ranking function (e.g., BM25Similarity, ClassicSimilarity, LMDirichletSimilarity, etc) in search time? The way I found to change the ranking function is by setting the similarity property of text fields in schema.xml as follows: `` However, this means we