Skip to content

Commit 37193c3

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 ab9ff33 commit 37193c3

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
@@ -485,7 +485,7 @@ public static NestedQueryBuilder nestedQuery(String path, QueryBuilder query, Sc
485485
}
486486

487487
/**
488-
* A filer for a field based on several terms matching on any of them.
488+
* A filter for a field based on several terms matching on any of them.
489489
*
490490
* @param name The field name
491491
* @param values The terms
@@ -495,7 +495,7 @@ public static TermsQueryBuilder termsQuery(String name, String... values) {
495495
}
496496

497497
/**
498-
* A filer for a field based on several terms matching on any of them.
498+
* A filter for a field based on several terms matching on any of them.
499499
*
500500
* @param name The field name
501501
* @param values The terms
@@ -505,7 +505,7 @@ public static TermsQueryBuilder termsQuery(String name, int... values) {
505505
}
506506

507507
/**
508-
* A filer for a field based on several terms matching on any of them.
508+
* A filter for a field based on several terms matching on any of them.
509509
*
510510
* @param name The field name
511511
* @param values The terms
@@ -515,7 +515,7 @@ public static TermsQueryBuilder termsQuery(String name, long... values) {
515515
}
516516

517517
/**
518-
* A filer for a field based on several terms matching on any of them.
518+
* A filter for a field based on several terms matching on any of them.
519519
*
520520
* @param name The field name
521521
* @param values The terms
@@ -525,7 +525,7 @@ public static TermsQueryBuilder termsQuery(String name, float... values) {
525525
}
526526

527527
/**
528-
* A filer for a field based on several terms matching on any of them.
528+
* A filter for a field based on several terms matching on any of them.
529529
*
530530
* @param name The field name
531531
* @param values The terms
@@ -535,7 +535,7 @@ public static TermsQueryBuilder termsQuery(String name, double... values) {
535535
}
536536

537537
/**
538-
* A filer for a field based on several terms matching on any of them.
538+
* A filter for a field based on several terms matching on any of them.
539539
*
540540
* @param name The field name
541541
* @param values The terms
@@ -545,7 +545,7 @@ public static TermsQueryBuilder termsQuery(String name, Object... values) {
545545
}
546546

547547
/**
548-
* A filer for a field based on several terms matching on any of them.
548+
* A filter for a field based on several terms matching on any of them.
549549
*
550550
* @param name The field name
551551
* @param values The terms

0 commit comments

Comments
 (0)