Execute a query using Lucene.Net.Search.MatchAllDocsQuery
as the query instead of building your own. It'll return hits for all (non-deleted) documents in your index.
Lucene.Net - Return All Documents
-
21-06-2023 - |
Question
Is there a way to return all documents currently in an Index.
I'm struggling to find a method, I expected it to be straightforward but I cant find anything that does it.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow