From 8243e99134614dbef09611d7c775e3c77ab8ab79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemen=20Ko=C5=A1ir?= Date: Wed, 16 Oct 2019 06:04:08 +0900 Subject: [PATCH] Fix typo in QueryBuilders Javadoc. (#47362) This PR fixes a typo in the Javadoc for terms queries in QueryBuilders. --- .../elasticsearch/index/query/QueryBuilders.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java b/server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java index 3e2f0b8e7e428..f43c172161865 100644 --- a/server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java +++ b/server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java @@ -510,7 +510,7 @@ public static NestedQueryBuilder nestedQuery(String path, QueryBuilder query, Sc } /** - * A filer for a field based on several terms matching on any of them. + * A filter for a field based on several terms matching on any of them. * * @param name The field name * @param values The terms @@ -520,7 +520,7 @@ public static TermsQueryBuilder termsQuery(String name, String... values) { } /** - * A filer for a field based on several terms matching on any of them. + * A filter for a field based on several terms matching on any of them. * * @param name The field name * @param values The terms @@ -530,7 +530,7 @@ public static TermsQueryBuilder termsQuery(String name, int... values) { } /** - * A filer for a field based on several terms matching on any of them. + * A filter for a field based on several terms matching on any of them. * * @param name The field name * @param values The terms @@ -540,7 +540,7 @@ public static TermsQueryBuilder termsQuery(String name, long... values) { } /** - * A filer for a field based on several terms matching on any of them. + * A filter for a field based on several terms matching on any of them. * * @param name The field name * @param values The terms @@ -550,7 +550,7 @@ public static TermsQueryBuilder termsQuery(String name, float... values) { } /** - * A filer for a field based on several terms matching on any of them. + * A filter for a field based on several terms matching on any of them. * * @param name The field name * @param values The terms @@ -560,7 +560,7 @@ public static TermsQueryBuilder termsQuery(String name, double... values) { } /** - * A filer for a field based on several terms matching on any of them. + * A filter for a field based on several terms matching on any of them. * * @param name The field name * @param values The terms @@ -570,7 +570,7 @@ public static TermsQueryBuilder termsQuery(String name, Object... values) { } /** - * A filer for a field based on several terms matching on any of them. + * A filter for a field based on several terms matching on any of them. * * @param name The field name * @param values The terms