The stream.file and stream.url parameters should do this.

Lance

Rico Lelina wrote:
Hi,

I'm using EmbeddedSolrServer for my unit tests. I just can't figure out how to
add my data (stored in xml files similar to those in the example application
example/exampleDocs) after instantiating the server. The source code for the
simple post tool seems to require a stream to write the file contents to. How
can I do that with the embedded server?

Thanks,
Rico

Reply via email to