Lucene creates 3 folders. Two of them are deletable and segments.
Can anyone tell me what is use of those two folders with context of Lucene working?
posted 4 years ago
They contain information that Lucene needs internally to keep track of the contents of the various index files. For example, if you delete documents from an index, they're not actually deleted, but marked "invalid" in one of those files.