Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
DM Smith made the following comment: (sometimes it is hard to dig out the stop set from the analyzers)
Looking around, some of these analyzers have very different ways of storing the default list.
One idea is to consider generalizing something like what Simon did with LUCENE-1965, LUCENE-1962,
and having all stopwords lists stored as .txt files in resources folder.
/** * Returns an unmodifiable instance of the default stop-words set. * @return an unmodifiable instance of the default stop-words set. */ public static Set<String> getDefaultStopSet()
Attachments
Issue Links
- is part of
-
LUCENE-2034 Massive Code Duplication in Contrib Analyzers - unifly the analyzer ctors
- Closed