7#ifndef INDEXFILENAMES_H
8#define INDEXFILENAMES_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle hash set collections that can be safely copied and shared.
Definition HashSet.h:17
Constants representing filenames and extensions used by Lucene.
Definition IndexFileNames.h:15
static const String & COMPOUND_FILE_EXTENSION()
Extension of compound file.
static const HashSet< String > NON_STORE_INDEX_EXTENSIONS()
static const String & FIELD_INFOS_EXTENSION()
Extension of field infos.
static const String & COMPOUND_FILE_STORE_EXTENSION()
Extension of compound file for doc store files.
static const String & SEPARATE_NORMS_EXTENSION()
Extension of separate norms.
static const HashSet< String > COMPOUND_EXTENSIONS()
File extensions of old-style index files.
static String segmentFileName(const String &segmentName, const String &ext)
Return segment file name.
static const HashSet< String > INDEX_EXTENSIONS_IN_COMPOUND_FILE()
File extensions that are added to a compound file (same as INDEX_EXTENSIONS, minus "del",...
static const String & SEGMENTS()
Name of the index segment file.
static const String & GEN_EXTENSION()
Extension of gen file.
static const String & FIELDS_EXTENSION()
Extension of stored fields file.
static const String & VECTORS_INDEX_EXTENSION()
Extension of vectors index file.
static const String & TERMS_INDEX_EXTENSION()
Extension of terms index file.
static const String & TERMS_EXTENSION()
Extension of terms file.
static const String & SEGMENTS_GEN()
Name of the generation reference file name.
static const HashSet< String > STORE_INDEX_EXTENSIONS()
static const String & DELETABLE()
Name of the index deletable file (only used in pre-lockless indices).
virtual ~IndexFileNames()
static const String & FREQ_EXTENSION()
Extension of freq postings file.
static const String & VECTORS_FIELDS_EXTENSION()
Extension of vectors fields file.
static const String & FIELDS_INDEX_EXTENSION()
Extension of stored fields index file.
static bool isDocStoreFile(const String &fileName)
Returns true if the provided filename is one of the doc store files (ends with an extension in STORE_...
static const String & VECTORS_DOCUMENTS_EXTENSION()
Extension of vectors documents file.
static const HashSet< String > VECTOR_EXTENSIONS()
File extensions for term vector support.
static const String & PROX_EXTENSION()
Extension of prox postings file.
static const String & DELETES_EXTENSION()
Extension of deletes.
static String fileNameFromGeneration(const String &base, const String &extension, int64_t gen)
Computes the full file name from base, extension and generation. If the generation is SegmentInfo#NO,...
static const String & PLAIN_NORMS_EXTENSION()
Extension of plain norms.
static const String & NORMS_EXTENSION()
Extension of norms file.
static const HashSet< String > INDEX_EXTENSIONS()
This array contains all filename extensions used by Lucene's index files, with two exceptions,...
Base class for all Lucene classes.
Definition LuceneObject.h:31
Definition AbstractAllTermDocs.h:12