I have a custom Similarity class that I would like to load. It has a no-arg constructor, so it should work fine within Solr's context. However, it has the option for other constructor input values as well that I would like to be able to set. Is there a way to set these values in Solr via the schema.xml declaration? In looking at IndexSchema.java, it seems like it is not supported, but I was wondering if I was missing something.

In the past, I have used Digester/Beans to do these kinds of things.

I also have this issue for some Analyzers, but that is not as pressing at the moment.

Thanks,
Grant

Reply via email to