Laxmi,

To retrieve all of the terms of a particular field, you will need to enumerate through the terms using a TermEnum.

If you are trying to retrieve all of the stored values, you will need to iterate through the documents.

A wild card query for "*" will not work for what you are trying to do. If you are looking for examples, I suggest the book Lucene In Action. The code in the book is Java, however the API is idential to Lucene.Net.

Michael

Laxmilal Menaria wrote:
Hello,

I am Lucene User and have created a Index of 2 MB data, that have 3
field.. Name, Addess, and City,..

I wants to lits out all the Name lists, so I have put lucene Query to
MultifieldQueryParser as Name:* but its give me "Lexical error at line
1, column 2. Encountered: <EOF> after : """ at
Lucene.Net.QueryParsers.ParseException, so what will I do..

Thanks
Laxmi Lal Menaria

Reply via email to