Revise javadoc of ExactPhraseMatcher#advancePosition (#944)

This commit is contained in:
Patrick Zhai 2022-06-03 23:05:44 -07:00 committed by GitHub
parent e8c1720956
commit 7e9d5ab768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ public final class ExactPhraseMatcher extends PhraseMatcher {
}
/**
* Advance the given pos enum to the first doc on or after {@code target}. Return {@code false} if
* the enum was exhausted before reaching {@code target} and {@code true} otherwise.
* Advance the given pos enum to the first position on or after {@code target}. Return {@code
* false} if the enum was exhausted before reaching {@code target} and {@code true} otherwise.
*/
private static boolean advancePosition(PostingsAndPosition posting, int target)
throws IOException {