Class: Ferret::Index::IndexFileNames
- Inherits:
-
Object
- Object
- Ferret::Index::IndexFileNames
- Defined in:
- lib/ferret/index/index_file_names.rb
Overview
Useful constants representing filenames and extensions used by lucene
Constant Summary collapse
- SEGMENTS =
Name of the index segment file
"segments"
- DELETABLE =
Name of the index deletable file
"deletable"
- INDEX_EXTENSIONS =
This array contains all filename extensions used by Lucene’s index files, with one exception, namely the extension made up from
.f
+ a number. Also note that two of Lucene’s files (deletable
andsegments
) don’t have any filename extension. [ "cfs", "fnm", "fdx", "fdt", "tii", "tis", "frq", "prx", "del", "tvx", "tvd", "tvf", "tvp" ]
- COMPOUND_EXTENSIONS =
File extensions of old-style index files
[ "fnm", "frq", "prx", "fdx", "fdt", "tii", "tis" ]
- VECTOR_EXTENSIONS =
File extensions for term vector support
[ "tvx", "tvd", "tvf" ]