Re: how to see the indexed,tokenized but not stored field

2008-03-16 Thread ZaeX
Thanks very much. 2008/3/16, Erick Erickson <[EMAIL PROTECTED]>: > > Use the Luke, force. Google Lucene and Luke and you'll find the link > to a wonderful tool that'll allow you to examine your index in great > detail. > > Best > Erick > > On Sun, Mar

how to see the indexed,tokenized but not stored field

2008-03-16 Thread ZaeX
Hi, all I got some troubles on getting expected search results, so I want to check what info is stored (more precisely, how was it tokenized) in index for some fields. (indexed and tokenized but not stored) Please tell me how to get that. Thanks. -- Time is mana, we must hurry

how can I see the indexed,tokenized field

2008-03-16 Thread ZaeX
Hi, all I got some troubles on getting expected search results, so I want to check what info is stored (more precisely, how was it tokenized) in index for some fields. (indexed and tokenized but not stored) Please tell me how to get that. Thanks. -- Time is mana, we must hurry

Re: How to get the doc ID from HITS

2008-02-22 Thread ZaeX
Hi, You should get the `Hits' from `IndexSearcher.search(...)' You could refer to the example code in the Lucene source package, or have a look at the book `Lucene in Action' 2008/2/23, sumittyagi <[EMAIL PROTECTED]>: > > > here is my code, i am just starting, so having little bit of trouble in

how to safely periodically reopen the IndexReader?

2008-02-16 Thread ZaeX
Hi, all I've got a question here needing your help: For my index, I opened one IndexWriter (autocommit mode) and one IndexSearcher on it; I have quite a lot of threads here concurrently writing new documents and doing search in index. the IndexWriter is flushed periodically. as I want the IndexSea