Didn't somebody talk about providing Solr with a custom (subclass of) 
IndexReader here on the list the other day?  Perhaps then a ReadOnlyIndexWriter 
with an appropriately overriden delete methods might be one approach to this.  
Or chmod -w? ;)

Otis
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simpy -- http://www.simpy.com/  -  Tag  -  Search  -  Share

----- Original Message ----
From: Ryan McKinley <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Thursday, May 24, 2007 2:35:44 PM
Subject: read only indexes?

Is there a good way to force an index to be read-only?

I could configure a dummy handler to sit on top of /update and throw an 
error, but i'd like a stronger assurance that nothing can call 
UpdateHandler.addDoc()




Reply via email to