Skip to content

Commit

Permalink
Fix typo in QueryBuilders Javadoc. (elastic#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 ab9ff33 commit 37193c3
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,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 @@ -495,7 +495,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 @@ -505,7 +505,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 @@ -515,7 +515,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 @@ -525,7 +525,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 @@ -535,7 +535,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 @@ -545,7 +545,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 37193c3

Please sign in to comment.