Caution: The documentation you are viewing is
for an older version of Zend Framework.
You can find the documentation of the current version at:
Interoperating with Java Lucene - Zend_Search_Lucene
Zend_Search_Lucene index file formats are binary compatible with Java Lucene version 1.4 and greater.
A detailed description of this format is available here: http://lucene.apache.org/java/2_3_0/fileformats.html  .
After index creation, the index directory will contain several files:
The segments file is a list of index segments.
The *.cfs files contain index segments. Note! An optimized index always has only one segment.
The deletable file is a list of files that are no longer used by the index, but which could not be deleted.
The Java program listing below provides an example of how to index a file using Java Lucene: