Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8874

Show SPI names only instead of class names in Luke Analysis tab

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 9.0, 8.2
    • 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

        1. LUCENE-8874.patch
          7 kB
          Tomoko Uchida
        2. Screenshot from 2019-06-30 13-15-40.png
          68 kB
          Tomoko Uchida
        3. Screenshot from 2019-06-30 13-15-57.png
          83 kB
          Tomoko Uchida

        Issue Links

          Activity

            People

              tomoko Tomoko Uchida
              tomoko Tomoko Uchida
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: