I've been searching in vain for an answer to my question so hopefully someone on the mail list has the answer or a solution.
I am attempting to use the Solr Embedded Server to generate my index and then utilize the Solr Web Application to query the same index and it works great if I restart the Solr Web Application after I've created the index, which is not ideal. Is what I want to do possible? The application that is doing the indexing and the Solr web application are both running fine in JBoss and I want to use the embedded server for indexing due to better performance. I have 250,000 documents to index once a week and I'd like the index to be available for searching as it is indexed. I commit to the embedded server every 100 documents so that number of documents being indexed isn't too many and take to long to process. So I guess the root question is can you have the embedded server and the Solr webapp looking and using the same core index at the same time? Should I use a master slave replication where the embedded server is creating the index for the master and the Solr Web app is querying the slave index? If so How do you setup the embedded server as a master, since there is no URL to point the Solr Web app to? Am I missing something simple and fundamental? probably. I'm currently running this all on Windows for development but in production it will be on Linux, does that make a difference? Is there a specific locking mechanism I need to set (I've tried Native, Simple and Single without success). Is the answer simply that you can't have both the embedded and web app solr working off the same Index at the same time and I should just have my application index the data via the Solr web app? Thank you, John