I want to fetch all hits from lucene. Is there any wild card character which fetches all records?
It worked. Thank You.
The code goes like this:
searcher = new Lucene.Net.Search.IndexSearcher(IndexPath);
Lucene.Net.Search.MatchAllDocsQuery objMatchAll = new Lucene.Net.Search.MatchAllDocsQuery();
Lucene.Net.Search.Hits hits = searcher.Search(objMatchAll);
Might this class in Lucene.Net serve your purpose? MatchAllDocsQuery
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With