Hi,

I am using EmbeddedSolrServer for full indexing (Multi core)
and StreamingUpdateSolrServer for incremental indexing. 
The steps involved are mentioned below.

Full indexing (Daily)
1) Start EmbeddedSolrServer 
2) Delete all docs
3) Add all docs
4) Commit and optimize collection
5) Stop EmbeddedSolrServer 
6) Reload core
    http://localhost:7070/solr/admin/cores?action=RELOAD&core=docs

Incremental Indexing (Hourly)
1) Start StreamingUpdateSolrServer 
2) Add/Delete docs
3) Commit collection

Now, the issue is the index is getting corrupted if we do Full indexing
and incremental indexing one after the other without restarting
the Tomcat web server (localhost:7070). There is no issue if we
restart the Tomcat after each of the indexing processes (Full and
incremental).

Please let me know how can we avoid corrupting the index without restarting
the
Tomcat. I am fairly new to Solr, so I may be missing something here.

Below are some details about our Solr Installation.
1) JVM                       OpenJDK 64-Bit Server VM (19.0-b09)
2) solr-spec-version     4.0.0.2011.12.08.06.33.52
3) solr-impl-version      4.0-SNAPSHOT 1211898 - root - 2011-12-08 06:33:52
4) lucene-spec-version 4.0-SNAPSHOT
5) lucene-impl-version  4.0-SNAPSHOT 1211898 - root - 2011-12-08 06:24:12
6) OS                        Red Hat Enterprise Linux Server release 6.1
(Santiago)

Thanks,
PC Rao.

--
View this message in context: 
http://lucene.472066.n3.nabble.com/EmbeddedSolrServer-and-StreamingUpdateSolrServer-tp3889073p3889073.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to