Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New, Patch Available
Description
Each analyzer component factory now has an explicitly documented "NAME" static field (LUCENE-8778) to promote the proper use of (symbolic) SPI names.
It would be better to get rid of all concrete factory class names from the Analysis tab UI, but instead show SPI names.
From implementation perspective, reflection tricks are needed to obtain the NAME field value without knowing the concrete classes (frameworks like Luke Analysis tab often don't know them). APIs to obtain the SPI name from a factory object might be needed for convenience and unified access to the names.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-8894 Add APIs to tokenizer/charfilter/tokenfilter factories to get their SPI names from concrete classes
- Closed
- relates to
-
LUCENE-8778 Define analyzer SPI names as static final fields and document the names in Javadocs
- Reopened