Unfortunately, you can't easily recover from this (except by
reindexing your docs again).
Failing to call IW.commit() or IW.close() means no segments file was written...
It is theoretically possible to reconstruct a segments file by
"listing" all files and figuring out which segments there are,
d
Hi, experts
I had a program running for 2 days to build an index for around 160 million
text files, and after program ended, I tried searching the index and found
the index was not correctly built, *indexReader.numDocs()* returns 0. I
checked the index directory, it looked good, all the index data