Re: Lucene index content

2007-06-01 Thread Erick Erickson
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]

Re: Lucene index content

2007-06-01 Thread Luis Rodrigo
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

Lucene index content

2007-06-01 Thread starz10de
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: [

Re: [ANN] Printing lucene index content

2007-03-03 Thread starz10de
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]

Re: [ANN] Printing lucene index content

2007-03-03 Thread karl wettin
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

Re: [ANN] Printing lucene index content

2007-03-03 Thread starz10de
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. > > --

Re: [ANN] Printing lucene index content

2007-03-03 Thread karl wettin
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

Re: [ANN] Printing lucene index content

2007-03-03 Thread starz10de
- > 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

Re: [ANN] Printing lucene index content

2007-03-03 Thread karl wettin
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]

Re: [ANN] Printing lucene index content

2007-03-03 Thread starz10de
----- > 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

Re: [ANN] Printing lucene index content

2007-03-03 Thread karl wettin
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

Re: [ANN] Printing lucene index content

2007-03-03 Thread starz10de
term freq > :"+dok.freq()); > } > > any help > ----- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >

Re: Printing lucene index content

2007-03-03 Thread karl wettin
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

Printing lucene index content

2007-03-03 Thread starz10de
. 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