Skip to content

Commit

Permalink
Fix typo in QueryBuilders Javadoc. (#47362)
Browse files Browse the repository at this point in the history
This PR fixes a typo in the Javadoc for terms queries in QueryBuilders.
  • Loading branch information
KarboniteKream authored and jtibshirani committed Oct 15, 2019
1 parent 5d49bbd commit 7ab6ae2
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,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
Expand All @@ -510,7 +510,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
Expand All @@ -520,7 +520,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
Expand All @@ -530,7 +530,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
Expand All @@ -540,7 +540,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
Expand All @@ -550,7 +550,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
Expand All @@ -560,7 +560,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
Expand Down

0 comments on commit 7ab6ae2

Please sign in to comment.