You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2023/10/18 14:19:27 UTC

[lucene] branch main updated: chore: update the Javadoc example in Analyzer (#12693)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6fde1db2281 chore: update the Javadoc example in Analyzer (#12693)
6fde1db2281 is described below

commit 6fde1db2281cefc61fb887c90eeafe988f4485e0
Author: Stéphane Campinas <st...@gmail.com>
AuthorDate: Wed Oct 18 16:19:19 2023 +0200

    chore: update the Javadoc example in Analyzer (#12693)
    
    Close #12666
---
 lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java b/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java
index 89fc28c7957..17f98abb518 100644
--- a/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java
+++ b/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java
@@ -51,7 +51,7 @@ import org.apache.lucene.util.CloseableThreadLocal;
  *     return new TokenStreamComponents(source, filter);
  *   }
  *   {@literal @Override}
- *   protected TokenStream normalize(TokenStream in) {
+ *   protected TokenStream normalize(String fieldName, TokenStream in) {
  *     // Assuming FooFilter is about normalization and BarFilter is about
  *     // stemming, only FooFilter should be applied
  *     return new FooFilter(in);