| java.lang.Object org.apache.lucene.index.IndexFileNames
IndexFileNames | final class IndexFileNames (Code) | | Useful constants representing filenames and extensions used by lucene
author: Bernhard Messer version: $rcs = ' $Id: Exp $ ' ; |
Method Summary | |
final static String | fileNameFromGeneration(String base, String extension, long gen) Computes the full file name from base, extension and
generation. | final static boolean | isDocStoreFile(String fileName) Returns true if the provided filename is one of the doc
store files (ends with an extension in
STORE_INDEX_EXTENSIONS). |
COMPOUND_EXTENSIONS | final static String COMPOUND_EXTENSIONS(Code) | | File extensions of old-style index files
|
COMPOUND_FILE_EXTENSION | final static String COMPOUND_FILE_EXTENSION(Code) | | Extension of compound file
|
COMPOUND_FILE_STORE_EXTENSION | final static String COMPOUND_FILE_STORE_EXTENSION(Code) | | Extension of compound file for doc store files
|
DELETABLE | final static String DELETABLE(Code) | | Name of the index deletable file (only used in
pre-lockless indices)
|
DELETES_EXTENSION | final static String DELETES_EXTENSION(Code) | | Extension of deletes
|
FIELDS_EXTENSION | final static String FIELDS_EXTENSION(Code) | | Extension of stored fields file
|
FIELDS_INDEX_EXTENSION | final static String FIELDS_INDEX_EXTENSION(Code) | | Extension of stored fields index file
|
FIELD_INFOS_EXTENSION | final static String FIELD_INFOS_EXTENSION(Code) | | Extension of field infos
|
FREQ_EXTENSION | final static String FREQ_EXTENSION(Code) | | Extension of freq postings file
|
GEN_EXTENSION | final static String GEN_EXTENSION(Code) | | Extension of gen file
|
INDEX_EXTENSIONS | final static String INDEX_EXTENSIONS(Code) | | This array contains all filename extensions used by
Lucene's index files, with two exceptions, namely the
extension made up from .f + a number and
from .s + a number. Also note that
Lucene's segments_N files do not have any
filename extension.
|
INDEX_EXTENSIONS_IN_COMPOUND_FILE | final static String[] INDEX_EXTENSIONS_IN_COMPOUND_FILE(Code) | | File extensions that are added to a compound file
(same as above, minus "del", "gen", "cfs").
|
NON_STORE_INDEX_EXTENSIONS | final static String[] NON_STORE_INDEX_EXTENSIONS(Code) | | |
NORMS_EXTENSION | final static String NORMS_EXTENSION(Code) | | Extension of norms file
|
PLAIN_NORMS_EXTENSION | final static String PLAIN_NORMS_EXTENSION(Code) | | Extension of plain norms
|
PROX_EXTENSION | final static String PROX_EXTENSION(Code) | | Extension of prox postings file
|
SEGMENTS | final static String SEGMENTS(Code) | | Name of the index segment file
|
SEGMENTS_GEN | final static String SEGMENTS_GEN(Code) | | Name of the generation reference file name
|
SEPARATE_NORMS_EXTENSION | final static String SEPARATE_NORMS_EXTENSION(Code) | | Extension of separate norms
|
STORE_INDEX_EXTENSIONS | final static String[] STORE_INDEX_EXTENSIONS(Code) | | |
TERMS_EXTENSION | final static String TERMS_EXTENSION(Code) | | Extension of terms file
|
TERMS_INDEX_EXTENSION | final static String TERMS_INDEX_EXTENSION(Code) | | Extension of terms index file
|
VECTORS_DOCUMENTS_EXTENSION | final static String VECTORS_DOCUMENTS_EXTENSION(Code) | | Extension of vectors documents file
|
VECTORS_FIELDS_EXTENSION | final static String VECTORS_FIELDS_EXTENSION(Code) | | Extension of vectors fields file
|
VECTORS_INDEX_EXTENSION | final static String VECTORS_INDEX_EXTENSION(Code) | | Extension of vectors index file
|
VECTOR_EXTENSIONS | final static String VECTOR_EXTENSIONS(Code) | | File extensions for term vector support
|
fileNameFromGeneration | final static String fileNameFromGeneration(String base, String extension, long gen)(Code) | | Computes the full file name from base, extension and
generation. If the generation is -1, the file name is
null. If it's 0, the file name is .
If it's > 0, the file name is _.
Parameters: base - -- main part of the file name Parameters: extension - -- extension of the filename (including .) Parameters: gen - -- generation |
isDocStoreFile | final static boolean isDocStoreFile(String fileName)(Code) | | Returns true if the provided filename is one of the doc
store files (ends with an extension in
STORE_INDEX_EXTENSIONS).
|
|
|