浏览代码

Fix Javadoc comments in QueryBuilders (#52987)

Yosuke Hirakida 5 年之前
父节点
当前提交
0e5e9b5710
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java

+ 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 text       The query text (to be analyzed).
+     * @param fieldNames The field names.
      */
      */
     public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) {
     public static MultiMatchQueryBuilder multiMatchQuery(Object text, String... fieldNames) {
         return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default
         return new MultiMatchQueryBuilder(text, fieldNames); // BOOLEAN is the default