Configuring analyzers in Solr

In Solr, I have my own analyzer that has two parameters. I know how to specify this parser in schema.xml, but I wonder how I can pass two arguments to either schema.xml or runtime in the code.

+4
source share
1 answer

You cannot pass parameters to xml schemes at runtime, as far as I know. But you can use the reload command. This can be useful when (backward compatible) changes have been made to your solrconfig.xml or schema.xml files (for example, new declarations, changed default settings for a, etc.), and you want to start using them. without stopping or restarting the entire Servlet container.

.

+2

All Articles