Skip to content

Apache Lucene open-source search software

doc: typo

Yonik Seeley92f4310c11af
diff --git a/lucene/src/java/org/apache/lucene/index/TermsEnum.java b/lucene/src/java/org/apache/lucene/index/TermsEnum.java
index 722c86c1758..950325d830e 100644
--- a/lucene/src/java/org/apache/lucene/index/TermsEnum.java
+++ b/lucene/src/java/org/apache/lucene/index/TermsEnum.java
@@ -63,14 +63,14 @@ public abstract class TermsEnum {
/** Seeks to the specified term. Returns SeekStatus to
* indicate whether exact term was found, a different
* term was found, or EOF was hit. The target term may
- * be befor or after the current term. */
+ * be before or after the current term. */
public final SeekStatus seek(BytesRef text) throws IOException {
return seek(text, true);
}
/** Seeks to the specified term by ordinal (position) as
* previously returned by {@link #ord}. The target ord
- * may be befor or after the current ord. See {@link
+ * may be before or after the current ord. See {@link
* #seek(BytesRef)}. */
public abstract SeekStatus seek(long ord) throws IOException;