문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top