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 23.02.2006 um 02:37 schrieb 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 data, e.g. parsed
text.
To read the nutch file format is easy possible using the Nutch
Readers e.g. SequenceFile Reader.
Just take a look to the io package.

HTH
Stefan


Am 24.01.2006 um 08:18 schrieb 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



---------------------------------------------------------------
company:        http://www.media-style.com
forum:        http://www.text-mining.org
blog:            http://www.find23.net


Reply via email to