@@ -389,7 +389,7 @@ public TermQuery term(double weight, String... terms) {
389389
390390 /**
391391 * Matches an element, attribute, json key, or field
392- * that has a value with the same words as at least one
392+ * that has a value with the same string value as at least one
393393 * of the criteria values.
394394 * @param index the value container
395395 * @param values the possible values to match
@@ -400,7 +400,7 @@ public StructuredQueryDefinition value(TextIndex index, String... values) {
400400 }
401401 /**
402402 * Matches an element, attribute, json key, or field
403- * that has a value with the same words as at least one
403+ * that has a value with the same string value as at least one
404404 * of the criteria values.
405405 * @param index the value container
406406 * @param scope whether the query matches the document content or properties
@@ -783,7 +783,7 @@ public CollectionConstraintQuery collectionConstraint(String constraintName, Str
783783
784784 /**
785785 * Matches the container specified by the constraint when it
786- * has a value with the same words as at least one
786+ * has a value with the same string value as at least one
787787 * of the criteria values.
788788 * @param constraintName the constraint definition
789789 * @param values the possible values to match
@@ -794,7 +794,7 @@ public ValueConstraintQuery valueConstraint(String constraintName, String... val
794794 }
795795 /**
796796 * Matches the container specified by the constraint when it
797- * has a value with the same words as at least one
797+ * has a value with the same string value as at least one
798798 * of the criteria values.
799799 * @param constraintName the constraint definition
800800 * @param weight the multiplier for the match in the document ranking
0 commit comments