karl wettin-3 wrote:
>
>
> 3 mar 2007 kl. 23.18 skrev starz10de:
>
>
> IndexReader ir = IndexReader.open("index");
>
> TermEnum terms=ir.terms();
>
> TermEnum termEnum = ir.getReader().terms();
> while (termEnum.next()) {
> TermDocs
3 mar 2007 kl. 23.18 skrev starz10de:
IndexReader ir = IndexReader.open("index");
TermEnum terms=ir.terms();
TermEnum termEnum = ir.getReader().terms();
while (termEnum.next()) {
TermDocs dok = ir.getReader().termDocs();
dok.seek(termEnum);
while
karl wettin-3 wrote:
>
>
> 3 mar 2007 kl. 22.31 skrev starz10de:
>
>>>
>>> hi Karl ,
>>>
>>> but the problem is that the getReader is not defined for type
>>> indexReader
>>> !!
>>>
>>> this is my code
>>>
>>> IndexReader ir = IndexReader.open("index");
>>>
>>> TermEnum terms=ir.terms
3 mar 2007 kl. 22.31 skrev starz10de:
hi Karl ,
but the problem is that the getReader is not defined for type
indexReader
!!
this is my code
IndexReader ir = IndexReader.open("index");
TermEnum terms=ir.terms();
TermEnum termEnum = ir.getReader().terms();
while (term
karl wettin-3 wrote:
>
>
> 3 mar 2007 kl. 21.25 skrev starz10de:
>>> how i can implement aprioriIndex ?
>
> Oh sorry. That should just be your IndexReader.
>
> --
> karl
>
> hi Karl ,
>
> but the problem is that the getReader is not defined for type indexReader
> !!
>
> this is my code
>
3 mar 2007 kl. 21.25 skrev starz10de:
how i can implement aprioriIndex ?
Oh sorry. That should just be your IndexReader.
--
karl
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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 = ap
karl wettin-3 wrote:
>
>
> 3 mar 2007 kl. 13.54 skrev starz10de:
>
>> How i can print the index content in order to use them for some
>> application.
>> I did use
>> TermEnum terms=ir.terms();
>> while (terms.next()) {
>>System.out.println(terms.term().text());
>> }
>>