Hi,

don't know if the python package provides one but solrj offers to start solr embedded (|EmbeddedSolrServer|) and
setting up different schema + config is possible. for this see:
https://karussell.wordpress.com/2010/06/10/how-to-test-apache-solrj/

if you need an 'external solr' (via jetty and java -jar start.jar) while tests running see this:
http://java.dzone.com/articles/getting-know-solr

Regards,
Peter.


Hi,

I'm pretty much of a Solr newbie currently packaging solrpy for Debian;
see
http://svn.debian.org/viewsvn/python-modules/packages/python-solrpy/trunk/

In order to run solrpy's supplied tests at build time, I'd need Solr to
know about the schema.xml that comes with the tests.
Can anyone tell me how do that properly? I'd basically need Solr to
temporarily recognize that schema.xml without permanently installing it
-- is there any way to do this, eg via environment variables?

TIA
Bernhard Reiter


Reply via email to