Opening lucene index stored in hdfs
2 answers
If you want to open a Lucene index that is stored in HDFS for searching, you're out of luck. AFAIK, there is no Directory HDFS implementation that allows lookups. One of the reasons for this is that HDFS is optimized for sequential reads of large blocks rather than the small random reads that Lucene carries.
There is an HDFSDirectory implementation in the Nutch project that you can use to create an IndexReader, but only to remove operations. Nutch uses only HDFSDirectory to perform document deduplication.
+2
a source to share