Hello everyone:
in order to returns the stored fields of the Document in this index.
if index is Lucene2.0 then using:
IndexReader reader = IndexReader.open(INDEX_STORE_PATH);
for(int i=0;i<reader.numDocs();i++){
System.out.println(reader.document(i));
}
if index is Nutch0.9 then How to write?
I look the org.apache.nutch.segment.SegmentReader,but i do not know how to
wirte ?
Thanks
--
View this message in context:
http://www.nabble.com/How-to-returns-the-stored-fields-of-the-Document-in-this-index-of-Nutch--tf4768453.html#a13639587
Sent from the Nutch - User mailing list archive at Nabble.com.