Bluetopia opened a new issue, #12666:
URL: https://github.com/apache/lucene/issues/12666

   ### Description
   
   Using: 
https://javadoc.io/doc/org.apache.lucene/lucene-core/latest/org/apache/lucene/analysis/Analyzer.html
 which should hopefully be up to date. The current state of the source file as 
of October 12, 2023 in the repository appears to match from a cursory glance.
   
   **Issue:** 
   The example for the createComponents() method has been updated to include 
the String fieldName parameter, but it appears that the normalize() example is 
missing this parameter and as such the sample does not work.
   
   **Fix:**
   Update example to match the method signature for normalize() in question: 
   ```
   protected TokenStream normalize(String fieldName, TokenStream in) {
   ...
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to