karl wettin-3 wrote:
>
>
> 3 mar 2007 kl. 17.06 skrev starz10de:
>
>>
>> I did try this but it is still not working
>>
>> IndexReader ir = IndexReader.open("index");
>>
>> TermDocs dok=ir.termDocs();
>> while (dok.next()) {
>> System.out.println("doc nr: "+dok.doc()+ " term freq
>> :"+dok.freq());
>> }
>
> TermEnum termEnum = aprioriIndex.getReader().terms();
> while (termEnum.next()) {
> TermDocs dok = aprioriIndex.getReader().termDocs();
> dok.seek(termEnum);
> while (dok.next()) {
> System.out.println(dok.doc() + "\t" + dok.freq() + "\t" +
> termEnum.term());
> }
> }
>
>
> --
> karl
>
> hi Karl ,
>
> how i can implement aprioriIndex ?
>
> thanks
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Printing-lucene-index-content-tf3338412.html#a9289319
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]