the analyzer only does n-gram processing for CJK text, it acts
word-based for e.g. english text. to me the stopwords list seems
reasonable. it has been there for 22 years and was in the initial
commit as an embedded string array initially, see lines 76-89:

https://svn.apache.org/viewvc/lucene/java/branches/lucene_2_9/contrib/analyzers/common/src/java/org/apache/lucene/analysis/cjk/CJKAnalyzer.java?revision=150897&view=markup

On Mon, Nov 30, 2026 at 6:58 AM Alan Woodward <[email protected]> wrote:
>
> Hi all,
>
> An analysis rabbit-hole just led me to 
> https://github.com/apache/lucene/blob/main/lucene/analysis/common/src/resources/org/apache/lucene/analysis/cjk/stopwords.txt
>  which advertises itself as a list of stopwords for CJK analysis, but in fact 
> consists of a list of English stopwords.  This feels wrong?  Or if it’s 
> intentional then it probably needs a comment in the file explaining why.
>
> - Alan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to