Java – how do I get all the files indexed by Lucene?
•
Java
I created a Lucene index
I want to get all the files, just sort according to the fields, no search criteria!
Solution
I don't know if your Lucene version matches, but the answer of 1 may apply to you See also 2 another thread, including other methods
Is it possible to iterate through documents stored in Lucene Index? http://lucene.472066.n3.nabble.com/Iterating-over-all-documents-in-an-index-td2480114.html
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码