Re: extract multi-features for one solr feature extractor in solr learning to rank

2017-04-18 Thread Jianxiong Dong
targeting. > In my specific use case, I opted for option A, > and wrote a simple script that generates the features.json so I wouldn't > have to write 100 similar features by hand. You > also mentioned that you want to extract features sparsely. You can change > the configuratio

extract multi-features for one solr feature extractor in solr learning to rank

2017-04-14 Thread Jianxiong Dong
Hi, I found that solr learning-to-rank (LTR) supports only ONE feature for a given feature extractor. See interface: https://github.com/apache/lucene-solr/blob/master/solr/contrib/ltr/src/java/org/apache/solr/ltr/feature/Feature.java Line (281, 282) (in FeatureScorer) @Override public

solr learning_to_rank (normalizer) unmatched argument type issue

2017-03-31 Thread Jianxiong Dong
Hi, I created a toy learning-to-rank model in solr in order to show the issues. Feature.json - [ { "store" : "wikiFeatureStore", "name" : "doc_len", "class" : "org.apache.solr.ltr.feature.FieldLengthFeature", "params" : {"field":"a_text"} }, { "store" :