Class RrfScoreEvalOperator

java.lang.Object
org.elasticsearch.compute.operator.AbstractPageMappingOperator
org.elasticsearch.compute.operator.RrfScoreEvalOperator
All Implemented Interfaces:
Closeable, AutoCloseable, Operator, org.elasticsearch.core.Releasable

public class RrfScoreEvalOperator extends AbstractPageMappingOperator
Updates the score column with new scores using the RRF formula. Receives the position of the score and fork columns. The new score we assign to each row is equal to 1 / (rank_constant + row_number). We use the fork discriminator column to determine the row_number for each row.