Browse Source

Fix Javadoc comments in QueryBuilders (#52987)

Yosuke Hirakida 5 years ago
parent
commit
0e5e9b5710

+ 2 - 2
server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java

@@ -63,10 +63,10 @@ public final class QueryBuilders {
     }
 
     /**
-     * Creates a match query with type "BOOLEAN" for the provided field name and text.
+     * Creates a match query with type "BOOLEAN" for the provided field names and text.
      *
-     * @param fieldNames The field names.
      * @param text       The query text (to be analyzed).
+     * @param fieldNames The field names.
      */
     public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) {
         return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default