On Thu, Sep 7, 2017 at 3:58 PM, Jan Høydahl <[email protected]> wrote: > Hi, > > Most Analysis factories have a snippet in the JavaDoc providing an example > for how to configure the component in Solr’s schema.xml. > See > http://lucene.apache.org/core/6_6_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilterFactory.html > for an example. > > I feel it is a bit mal-placed, and Solr users can find such XML snippets in > the RefGuide. > The snippet gives information about what options the factory accepts in its > constructor (Map<String,String>), so we should cannot simply delete the XML. > But perhaps it could be replaced by a HTML definition list or table > describing each option? >
How about we replace with the equivalent example for CustomAnalyzer, which lets you use them in a programmatic way with the lucene API? http://lucene.apache.org/core/6_6_0/analyzers-common/org/apache/lucene/analysis/custom/CustomAnalyzer.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
