Re: retrieve data from index file

2006-02-23 Thread Stefan Groschupf
Hi Wong, take a look to: http://lucene.apache.org/java/docs/api/org/apache/lucene/index/ IndexReader.html There are many code snippets in the net that will show you how you can use it. In general I found the book lucene in action a useful guide when working with lucene. Stefan Am

Re: retrieve data from index file

2006-02-23 Thread Jack Tang
Exception in thread main java.lang.NoClassDefFoundError: org/apache/lucene/st ore/FSDirectory ^^^ Why one blank here? On 2/24/06, Wong Ting Kiong [EMAIL PROTECTED] wrote: hi, I had tried some java codes calling lucene lib lucene-1.9-rc1-dev.jar, but got error, my

Re: retrieve data from index file

2006-02-22 Thread Wong Ting Kiong
hi, Is there any example of java code that i can read the data from index file in segments? I had tried segmentReader, ArrayfileReader, and SequenceReader feel confuse. Thanks. Wong On 1/24/06, Stefan Groschupf [EMAIL PROTECTED] wrote: you can calculate these statistics from the segment

retrieve data from index file

2006-01-23 Thread Wong Ting Kiong
hi all, I'm now using nutch 0.7.1, and I wish to retrieve content from index file, how can i retrieve? Information that i want to retrieve are - list of words from each links - occurance of words in each links can i retrieve these information in raw data format? thanks for your attention Kiong