Skip to content

Commit 7ab6ae2

Browse files
KarboniteKreamjtibshirani
authored andcommitted
Fix typo in QueryBuilders Javadoc. (#47362)
This PR fixes a typo in the Javadoc for terms queries in QueryBuilders.
1 parent 5d49bbd commit 7ab6ae2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

server/src/main/java/org/elasticsearch/index/query/QueryBuilders.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ public static NestedQueryBuilder nestedQuery(String path, QueryBuilder query, Sc
500500
}
501501

502502
/**
503-
* A filer for a field based on several terms matching on any of them.
503+
* A filter for a field based on several terms matching on any of them.
504504
*
505505
* @param name The field name
506506
* @param values The terms
@@ -510,7 +510,7 @@ public static TermsQueryBuilder termsQuery(String name, String... values) {
510510
}
511511

512512
/**
513-
* A filer for a field based on several terms matching on any of them.
513+
* A filter for a field based on several terms matching on any of them.
514514
*
515515
* @param name The field name
516516
* @param values The terms
@@ -520,7 +520,7 @@ public static TermsQueryBuilder termsQuery(String name, int... values) {
520520
}
521521

522522
/**
523-
* A filer for a field based on several terms matching on any of them.
523+
* A filter for a field based on several terms matching on any of them.
524524
*
525525
* @param name The field name
526526
* @param values The terms
@@ -530,7 +530,7 @@ public static TermsQueryBuilder termsQuery(String name, long... values) {
530530
}
531531

532532
/**
533-
* A filer for a field based on several terms matching on any of them.
533+
* A filter for a field based on several terms matching on any of them.
534534
*
535535
* @param name The field name
536536
* @param values The terms
@@ -540,7 +540,7 @@ public static TermsQueryBuilder termsQuery(String name, float... values) {
540540
}
541541

542542
/**
543-
* A filer for a field based on several terms matching on any of them.
543+
* A filter for a field based on several terms matching on any of them.
544544
*
545545
* @param name The field name
546546
* @param values The terms
@@ -550,7 +550,7 @@ public static TermsQueryBuilder termsQuery(String name, double... values) {
550550
}
551551

552552
/**
553-
* A filer for a field based on several terms matching on any of them.
553+
* A filter for a field based on several terms matching on any of them.
554554
*
555555
* @param name The field name
556556
* @param values The terms
@@ -560,7 +560,7 @@ public static TermsQueryBuilder termsQuery(String name, Object... values) {
560560
}
561561

562562
/**
563-
* A filer for a field based on several terms matching on any of them.
563+
* A filter for a field based on several terms matching on any of them.
564564
*
565565
* @param name The field name
566566
* @param values The terms

0 commit comments

Comments
 (0)