On 11/13/2019 9:45 AM, Kaminski, Adi wrote:
Can someone confirm that EmbeddedSolrServer calss is thread-safe (meaning from 
API perspective of add/delete/query operations by different threads)?
It's not written in any documentation, and we have some different answers from 
different forums.

The question is regarding Solr 7.6 binaries (in case was changed fixed in later 
versions).

EmbeddedSolrServer is Solr, without all the http-related stuff normally provided by Jetty. Solr is thread-safe, and since the embedded server runs exactly the same core code to provide an index as Solr does, I would expect it to be thread-safe as well.

Note that we strongly recommend NOT using the embedded server in production. Achieving redundancy with the embedded server would require significant extra work, mostly to rebuild the remote capability that Jetty gives to a full Solr install.

Thanks,
Shawn

Reply via email to