Re: Learn To Rank Questions

2017-05-15 Thread Joël Trigalo
1. So I think it is a spark problem first (https://issues.apache.org/jir a/browse/SPARK-10413). What we can do is to create our own model (cf https://github.com/apache/lucene-solr/tree/master/solr/contr ib/ltr/src/java/org/apache/solr/ltr/model) that applies the prediction, it should be easy to do

Re: SOLR Score Range Changed

2018-02-23 Thread Joël Trigalo
The difference seems due to the fact that default similarity in solr 7 is BM25 while it used to be TF-IDF in solr 4. As you realised, BM25 function is smoother. You can configure schema.xml to use ClassicSimilarity, for instance

Re: change the ranking function

2018-07-27 Thread Joël Trigalo
Hi, It is not possible in general because similarities are computing norms at index time. ( https://github.com/apache/lucene-solr/blob/master/lucene/core/src/java/org/apache/lucene/search/similarities/Similarity.java#L46 ) My understanding is that you should double a field and set different