: - Can I use separate JVMs for same Directory object? One process will : create/update/delete, and another search. : - Can I use separate JEE contexts inside same JVM? : : Looks like "singleton" is a must, but separate "search" should be : possible...
in theory it should work, Solr doens't do any additional locking on top of Lucene, so having multiple Solr instances acting as a reader and a single Solr instance acting as a writer should work (but i've never tried it) you could even have the postCommit hook of your writer trigger a commit call on your readers so they reopen the newly updated index. -Hoss