Hi, org.apache.solr.ltr.feature.Feature.FeatureWeight.FeatureScorer#score returns a float that is the feature value (public abstract float score()) .
Having a feature that actually wraps multiple features is not implemented and would require non trivial changes in the module. Cheers -------------------------- *Alessandro Benedetti* Director @ Sease Ltd. *Apache Lucene/Solr Committer* *Apache Solr PMC Member* e-mail: [email protected] *Sease* - Information Retrieval Applied Consulting | Training | Open Source Website: Sease.io <http://sease.io/> LinkedIn <https://linkedin.com/company/sease-ltd> | Twitter <https://twitter.com/seaseltd> | Youtube <https://www.youtube.com/channel/UCDx86ZKLYNpI3gzMercM7BQ> | Github <https://github.com/seaseltd> On Sat, 20 May 2023 at 18:57, Rajani Maski <[email protected]> wrote: > Hi All, > > Does LTR field value feature or solr feature support multi valued numeric > field? Thinking of storing document features in single multi valued field > or serialized string format. Can LTR reranker consume from such a field? > > Thanks, > Rajani > > > On Thu, May 4, 2023, 1:53 PM Rajani Maski <[email protected]> wrote: > > > Hi Solr Users, > > > > Can the LTR field value feature > > < > https://solr.apache.org/docs/8_7_0/solr-ltr/org/apache/solr/ltr/feature/FieldValueFeature.html> > be > > a vector field or a field with comma separated numeric values? Is it a > > supported feature? Instead of querying each field separately, which is > > adding up to the query cost, thinking if it is possible to put field > values > > together in one field at index time and query that as a feature, > thoughts? > > > > Thanks, > > Rajani > > >
