How can I get all documents in the index? Is there a query that will return all of them?

Otis Gospodnetic

This cannot be done with Lucene out of the box, however there is a way to do this.
One solution is to add a field with a known and constant value to each document in the index. Then searching for that field and value will give you all documents in the index.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact