You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Chris M. Hostetter (Jira)" <ji...@apache.org> on 2025/10/21 22:53:00 UTC

[jira] [Commented] (SOLR-17975) Add support for Lucene's LateInteractionField

    [ https://issues.apache.org/jira/browse/SOLR-17975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18031912#comment-18031912 ] 

Chris M. Hostetter commented on SOLR-17975:
-------------------------------------------

{quote}BUT! ... the most complex part of figuring out ow to support LateInteractionField in Solr is going to come down to what the field values should look like when adding/updating docs containing this field – and what the query input should look like – given that the field values are "multi-dimensional array of floats"
{quote}
SOLR-17974 addresses the bigger picture problem of trying to use "lists of xxx" as a value in a multi-valued field in SolrInputDocument & SolrDocument – but we're also going to need to address questions of the "query time" representation (which is a {{float[][]}} at the lucene level.

Since the query time logic will likely (almost certainly?) need a pure string format for the  {{float[][]}} input that it can parse -- one option is to kick the SOLR-17974 can down the road even farther, and let the rest of Solr/SolrJ deal with the field values of some new {{lo.a.s.schema.LateInteractionFieldType}} as "specially formatted Strings", that only the internal code of the new FieldType worries about parsing into {{float[][]}}.


> Add support for Lucene's LateInteractionField
> ---------------------------------------------
>
>                 Key: SOLR-17975
>                 URL: https://issues.apache.org/jira/browse/SOLR-17975
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Chris M. Hostetter
>            Priority: Major
>
> Lucene 10.3 added a [LateInteractionField.|https://lucene.apache.org/core/10_3_1/core/org/apache/lucene/document/LateInteractionField.html].
> Basic support for this in Solr would be a new {{FieldType}} and some associated {{QParser}} support to be able to use tose fields in conjunction iwth Lucene's {{TestRescoreTopNQuery}} and/or {{LateInteractionRescorer}} (and/or {{LateInteractionFloatValuesSource}} + {{DoubleValuesSourceRescorer}} -- see SOLR-17951)
> BUT! ... the most complex part of figuring out ow to support {{LateInteractionField}} in Solr is going to come down to what the field values should look like when adding/updating docs containing this field -- and what the query input should look like -- given that the field values are "multi-dimensional array of floats"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org