Interface KnnPredicateVectorStep


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

    • matching

      KnnPredicateOptionsStep 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 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.