You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2023/09/06 10:21:34 UTC

[lucene] branch branch_9x updated: clarify QueryVisitor.acceptField javadoc w.r.t. not being term-specific (#12540)

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

cpoerschke 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 632d8c253bb clarify QueryVisitor.acceptField javadoc w.r.t. not being term-specific (#12540)
632d8c253bb is described below

commit 632d8c253bb1de05e0a0d308978d007e93e6cd8f
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Wed Sep 6 11:18:46 2023 +0100

    clarify QueryVisitor.acceptField javadoc w.r.t. not being term-specific (#12540)
    
    (cherry picked from commit ef42af65f27f7f078b1ab426de9f2b2fa214ad86)
---
 lucene/core/src/java/org/apache/lucene/search/QueryVisitor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/java/org/apache/lucene/search/QueryVisitor.java b/lucene/core/src/java/org/apache/lucene/search/QueryVisitor.java
index e963c0ddf84..644e21a371a 100644
--- a/lucene/core/src/java/org/apache/lucene/search/QueryVisitor.java
+++ b/lucene/core/src/java/org/apache/lucene/search/QueryVisitor.java
@@ -59,7 +59,7 @@ public abstract class QueryVisitor {
   public void visitLeaf(Query query) {}
 
   /**
-   * Whether or not terms from this field are of interest to the visitor
+   * Whether or not this field is of interest to the visitor
    *
    * <p>Implement this to avoid collecting terms from heavy queries such as {@link TermInSetQuery}
    * that are not running on fields of interest