Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-5417

Solr function query supports reading multiple values from a field.

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.6
    • 4.9, 6.0
    • core/query/scoring
    • None
    • N/A

    • New, Patch Available

    Description

      Solr function query is a powerful tool to customize search criterion and ranking function (http://wiki.apache.org/solr/FunctionQuery). However, it cannot effectively benefit from field values from multi-valued field, namely, the field(...) function can only read one value and discard the others.

      This limitation has been associated with FieldCacheSource, and the fact that FieldCache cannot fetch multiple values from a field, but such constraint has been largely lifted by LUCENE-3354, which allows multiple values to be extracted from one field. Those values in turn can be used as parameters of other functions to yield a single score.

      I personally find this limitation very unhandy when building a learning-to-rank system that uses many cues and string features. Therefore I would like to post this feature request and (hopefully) work on it myself.

      Attachments

        Activity

          People

            Unassigned Unassigned
            peng Peng Cheng

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment