Hi One,
Try to do something like this

doc.add(Field.Text("type","product"));

for all records.

Then.... search for type:product
It will return all the records.
William.


>From: "Tihon One" <[EMAIL PROTECTED]>
>Reply-To: "Lucene Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Retrieve all documents from Index, How to?
>Date: Wed, 27 Mar 2002 16:05:16 +0000
>
>Hi all,
>
>I indexed all records in DataBase.  One of the field in my index stores
>primary key from DataBase (each key is in different document). Is there a
>way that I can retrieve all documents from index ?  I need to validate if
>all records is indexed.
>
>I try search for * but it return empty result.
>
>I'm using StandardAnalyzer with Field.KeyWord for the PrimayKey field and
>everything else is Field.Text
>
>Thanks for your help.
>
>TihonOne
>
>_________________________________________________________________
>Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to