File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Lucene created folder deletable and segments significance

 
jagrutkumar dalwadi
Ranch Hand
Posts: 83
Hibernate Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use of two folders created by Lucene.

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?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic