Open index in readOnly mode

Is there any possibility to set an index to read only? I found that the
Lucene IndexReader supports opening an index in read only mode.It would be
nice if an index on ES could be set to read only and from this time on, all
readers open the index in read only mode.

http://lucene.apache.org/java/3_0_1/api/core/org/apache/lucene/index/IndexReader.html

The ability to open a Lucene index reader in read only mode does not relate
to an index being read only (actually, it is opened in read only mode by
elasticsearch, since updates are done through the IndexWriter). But, the
feature make sense, open an issue?

On Mon, Nov 7, 2011 at 2:56 PM, ruflin ruflin@gmail.com wrote:

Is there any possibility to set an index to read only? I found that the
Lucene IndexReader supports opening an index in read only mode.It would be
nice if an index on ES could be set to read only and from this time on, all
readers open the index in read only mode.

IndexReader (Lucene 3.0.3 API)

Good to know. I just opened an
issue: https://github.com/elasticsearch/elasticsearch/issues/1452