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

Improve analyzer factoryies' Javadoc.

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • modules/analysis
    • None
    • New

    Description

      Currently, the documentation for analyzer factories (subclasses of TokenizerFactory, CharFilterFactory, TokenFilterFactory) still includes lots of Solr schema.xml examples and not all properties are documented. From my perspective, the latter is more problematic because users who want to use the factories have to refer to source code to know what properties are defined.

      To improve documentation, XML examples should be removed for cleanup, and instead, all properties which can be passed to factory constructors should be properly documented.

      Documentation is often overlooked so some validation rules and standardization effort would be desired (e.g. marking properties by annotations).

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: