You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by pa...@apache.org on 2022/06/04 06:09:13 UTC

[lucene] branch branch_9x updated: Revise javadoc of ExactPhraseMatcher#advancePosition (#944)

This is an automated email from the ASF dual-hosted git repository.

patrickz pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 19735c611ce Revise javadoc of ExactPhraseMatcher#advancePosition (#944)
19735c611ce is described below

commit 19735c611ce471f041f6ec6610937cf73c27b181
Author: Patrick Zhai <zh...@users.noreply.github.com>
AuthorDate: Fri Jun 3 23:05:44 2022 -0700

    Revise javadoc of ExactPhraseMatcher#advancePosition (#944)
---
 lucene/core/src/java/org/apache/lucene/search/ExactPhraseMatcher.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lucene/core/src/java/org/apache/lucene/search/ExactPhraseMatcher.java b/lucene/core/src/java/org/apache/lucene/search/ExactPhraseMatcher.java
index 36020c94203..b35f2d868dc 100644
--- a/lucene/core/src/java/org/apache/lucene/search/ExactPhraseMatcher.java
+++ b/lucene/core/src/java/org/apache/lucene/search/ExactPhraseMatcher.java
@@ -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 {