Reading from compressed lucene index
Posted
by Akhil
on Stack Overflow
See other posts from Stack Overflow
or by Akhil
Published on 2010-04-30T03:16:28Z
Indexed on
2010/04/30
3:27 UTC
Read the original article
Hit count: 529
lucene-index
|lucene
I created a lucene index and compressed the index directory with bz2 or zip. I donot want to uncompress it. Is there any API call that can read the index from this zipped directory and thus allow searching and other functionalities. That is, can lucence IndexReader read the index from a compressed file.
I saw that Lucnene IndexReader does not support "Reader" to open the index, otherwise I would have created a Reader class that uncompresses the file and streams the uncompressed version.
Any alternatives to this are welcome.
Thanks, Akhil
© Stack Overflow or respective owner