--
View this message in context:
http://lucene.472066.n3.nabble.com/Multiple-Embedded-Servers-Pointing-to-single-solrhome-index-tp3999451p4000269.html
Sent from the Solr - User mailing list archive at Nabble.com.
Yeah, that is not really supported. One write lock and one IndexWriter per
index.
If you use embedded you want to share your CoreContainer, else don't use
embedded.
On Aug 6, 2012, at 1:56 PM, Bing Hua wrote:
> Hi,
>
> I'm trying to use two embedded solr servers pointing to a same solrhome /
Makes sense. Thank you.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Multiple-Embedded-Servers-Pointing-to-single-solrhome-index-tp3999451p4000180.html
Sent from the Solr - User mailing list archive at Nabble.com.
t the writer needs to be closed for other
> nodes' availability.
>
> Do you see any issues of this use case? Is the EmbeddedSolrServer able to
> release its write lock without shutting down?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.na
writer needs to be closed for other
nodes' availability.
Do you see any issues of this use case? Is the EmbeddedSolrServer able to
release its write lock without shutting down?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Multiple-Embedded-Servers-Pointing-to-s
Where is the common index? On NFS?
If it is on a native hard disk (on the same computer) Solr uses the
file locking mechanism supplied by the operating system (Linux or
Windows). This may not be working right. See this for more info on
file locking:
http://wiki.apache.org/lucene-java/AvailableLock
Hi,
I'm trying to use two embedded solr servers pointing to a same solrhome /
index. So that's something like
System.setProperty("solr.solr.home", "SomeSolrDir");
CoreContainer.Initializer initializer = new
CoreContainer.Initializer();
CoreContainer coreContainer = initial