Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New
Description
Currently, reflection tricks are needed to obtain SPI name (this is now stored in static NAME fields in each factory class) from a concrete factory class. While it is easy to implement that logic, it would be much better to provide unified APIs to get SPI name from a factory class. In other words, the APIs would provide "inverse" operation of lookupClass(String) method.
Attachments
Issue Links
- relates to
-
LUCENE-8566 Deprecate methods in CustomAnalyzer.Builder which take factory classes
- Resolved
-
LUCENE-8874 Show SPI names only instead of class names in Luke Analysis tab
- Closed
- links to