thanks in advance
--
View this message in context:
http://www.nabble.com/Lucene-index-content-tf3851690.html#a10911002
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]
Try Luke:
http://www.getopt.org/luke/
It is a great tool to inspect the index contents.
Luis.
starz10de escribió:
Hello all,
I am printing luecene index content and I successed but I don't know how to
print the indexed file names.
System.out.println(dok.doc() );
here it printed the
me F1.
thanks in advance
--
View this message in context:
http://www.nabble.com/Lucene-index-content-tf3851690.html#a10911002
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [
amp;& !"path".equals
> (termEnum.term().field()) {
>
> ?
>
> --
> karl
>
> hi karl,
>
> thank you very much !!!
> that what i wanted :)
> -
> 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#a9290735
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]
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
d to display the text file but with :
> -
> -
> modified:0eyulpzyg
> path:c:\test\1.txt
>
> which i don't need to access ,how i can avoid printing that.
>
>
> which i dont need to access.
>
> thanks in advance.
>
> --
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
-
> 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#a9289911
Sen
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]
-----
> 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#a928931
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
term freq
> :"+dok.freq());
> }
>
> any help
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
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());
}
I still need to print the document id and the term
.
thanks
--
View this message in context:
http://www.nabble.com/Printing-lucene-index-content-tf3338412.html#a9284757
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
14 matches
Mail list logo