Skip to content

Apache Lucene open-source search software

fixing tiny typo in javadoc

Daniel Naberd37e5cc90697
diff --git a/src/java/org/apache/lucene/search/Query.java b/src/java/org/apache/lucene/search/Query.java
index 1249e3d31a0..ec9d32e4b50 100644
--- a/src/java/org/apache/lucene/search/Query.java
+++ b/src/java/org/apache/lucene/search/Query.java
@@ -86,7 +86,7 @@ public abstract class Query implements java.io.Serializable, Cloneable {
throw new UnsupportedOperationException();
}
- /** Expert: Constructs an initializes a Weight for a top-level query. */
+ /** Expert: Constructs and initializes a Weight for a top-level query. */
public Weight weight(Searcher searcher)
throws IOException {
Query query = searcher.rewrite(this);