Interface KnnPredicateVectorStep<SR>

Type Parameters:
SR - Scope root type.

public interface KnnPredicateVectorStep<SR>
The step in a "knn" predicate definition where the vector to match is defined.
  • Method Details

    • matching

      KnnPredicateOptionsStep<SR> matching(byte... vector)
      Parameters:
      vector - The vector from which to compute the distance to vectors in the indexed field.
      Returns:
      The next step in the knn predicate DSL.
    • matching

      KnnPredicateOptionsStep<SR> matching(float... vector)
      Parameters:
      vector - The vector from which to compute the distance to vectors in the indexed field.
      Returns:
      The next step in the knn predicate DSL.