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/02 21:15:32 UTC

[lucene] branch zhaih-patch-1 created (now edc51a3031b)

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

patrickz pushed a change to branch zhaih-patch-1
in repository https://gitbox.apache.org/repos/asf/lucene.git


      at edc51a3031b Revise javadoc of ExactPhraseMatcher#advancePosition

This branch includes the following new commits:

     new edc51a3031b Revise javadoc of ExactPhraseMatcher#advancePosition

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[lucene] 01/01: Revise javadoc of ExactPhraseMatcher#advancePosition

Posted by pa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

patrickz pushed a commit to branch zhaih-patch-1
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit edc51a3031b7320cab119b4ae26ebe64ff1daf1b
Author: Patrick Zhai <zh...@users.noreply.github.com>
AuthorDate: Thu Jun 2 14:15:26 2022 -0700

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

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..0061124e4a8 100644
--- a/lucene/core/src/java/org/apache/lucene/search/ExactPhraseMatcher.java
+++ b/lucene/core/src/java/org/apache/lucene/search/ExactPhraseMatcher.java
@@ -103,7 +103,7 @@ public final class ExactPhraseMatcher extends PhraseMatcher {
   }
 
   /**
-   * Advance the given pos enum to the first doc on or after {@code target}. Return {@code false} if
+   * 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)