Skip to content

Apache Lucene open-source search software

Fixed a typo in the Javadoc of TaxonomyReader (#732)

Yuting Gan10b78714c126
diff --git a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyReader.java b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyReader.java
index 50c23e72019..61d54132410 100644
--- a/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyReader.java
+++ b/lucene/facet/src/java/org/apache/lucene/facet/taxonomy/TaxonomyReader.java
@@ -197,7 +197,7 @@ public abstract class TaxonomyReader implements Closeable {
* number, an integer which starts with 0 and grows as more categories are added (note that once a
* category is added, it can never be deleted).
*
- * @return the category's ordinal or {@link #INVALID_ORDINAL} if the category wasn't foun.
+ * @return the category's ordinal or {@link #INVALID_ORDINAL} if the category wasn't found.
*/
public abstract int getOrdinal(FacetLabel categoryPath) throws IOException;