Skip to content

Commit 0e5e9b5

Browse files
authored
Fix Javadoc comments in QueryBuilders (#52987)
1 parent 2ceedc7 commit 0e5e9b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ public static MatchQueryBuilder matchQuery(String name, Object text) {
6363
}
6464

6565
/**
66-
* Creates a match query with type "BOOLEAN" for the provided field name and text.
66+
* Creates a match query with type "BOOLEAN" for the provided field names and text.
6767
*
68-
* @param fieldNames The field names.
6968
* @param text The query text (to be analyzed).
69+
* @param fieldNames The field names.
7070
*/
7171
public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) {
7272
return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default

0 commit comments

Comments
 (0)