lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jianxiong Dong <>
Subject extract multi-features for one solr feature extractor in solr learning to rank
Date Fri, 14 Apr 2017 16:51:36 GMT
    I found that solr learning-to-rank (LTR) supports only ONE feature
for a given feature extractor.

See interface:

Line (281, 282) (in FeatureScorer)
      public abstract float score() throws IOException;

I have a user case: given a <query, doc>, I like to extract multiple
features (e.g.  100 features.  In the current framework,  I have to
define 100 features in feature.json. Also more cost for scored doc

I would like to have an interface:

public abstract Map<String, Float> score() throws IOException;

It helps support sparse vector feature.

Can anybody provide an insight?



View raw message