Skip to content

Commit f7dbefd

Browse files
committed
add lateI value source docString
1 parent a132aec commit f7dbefd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lucene/core/src/java/org/apache/lucene/search/LateInteractionFloatValuesSource.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@
2525
import org.apache.lucene.index.LeafReaderContext;
2626
import org.apache.lucene.index.VectorSimilarityFunction;
2727

28+
29+
/**
30+
* A {@link DoubleValuesSource} that scores documents using similarity between a multi-vector query,
31+
* and indexed document multi-vectors.
32+
*
33+
* <p>This is useful re-ranking query results using late interaction models, where documents and queries
34+
* are represented as multi-vectors of composing token vectors. Document vectors are indexed
35+
* using {@link org.apache.lucene.document.LateInteractionField}.
36+
*/
2837
public class LateInteractionFloatValuesSource extends DoubleValuesSource {
2938

3039
private final String fieldName;

0 commit comments

Comments
 (0)