TermDocs dok = ir.termDocs();
> >> > dok.seek(termEnum);
> >> > while (dok.next()) {
> >> > System.out.println(termEnum.term().text().trim());
> >>
while (dok.next()) {
>> > System.out.println(termEnum.term().text().trim());
>> > }
>> >
>> > I can print the text files before indexing them, but because of
>> encoding
>> > issues i like to print them from the index
ause of encoding
> > issues i like to print them from the index.
> > As i know the content of the document(whole text) is also stored in the
> > index, my question how to print this content.
> >
> > so at the end i will print the path of the current document , index terms
in the
> index, my question how to print this content.
>
> so at the end i will print the path of the current document , index terms
> and the content of the document
>
>
> thanks in advance
>
--
View this message in context:
http://www.nabble.com/storing-the-contents-o
ontent of the document
>
>
> thanks in advance
> --
> View this message in context:
> http://www.nabble.com/storing-the-contents-of-a-document-in-the--lucene-index-tp18595855p18595855.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> --
://www.nabble.com/storing-the-contents-of-a-document-in-the--lucene-index-tp18595855p18595855.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands