I’ve began to work on generating a Solr schema rather than storing it. I am
using the lxml library for writing to the xml file. I am currently trying
to map fields from the Whoosh schema with the fields to be written in the
schema.xml file. Should the user provide the path to their current Solr
installation in the trac.ini file (in order to know where the schema.xml
file should be generated)?

Regarding the instructions, I am going to write documentation for the
plugin, so I’ll include instructions to install Solr and use it in
Bloodhound.

Thanks,
Antonia

On 24 July 2014 at 09:54:04, Anže Starič ([email protected]
<javascript:_e(%7B%7D,'cvml','[email protected]');>) wrote:

Hi.

When solr is configured, schema.xml should be put in solr's
configuration directory.

Is it possible to generate schema.xml using a trac-admin command
instead of storing it in a repository? It can be generated from whoosh
schema, or if that is not possible, you can create a new schema
definition format that can then be used to generate whoosh and solr
schemas. This way, there is only one place in code that needs to be
modified when new fields are defined.

I also miss some instructions on how to set everything up (a basic
overview of a minimal solr install and steps needed to replace whoosh
backend with solr).

Anze

Reply via email to