Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
IndexFileNames.h
Go to the documentation of this file.
1
2
// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3
// Distributable under the terms of either the Apache License (Version 2.0)
4
// or the GNU Lesser General Public License.
6
7
#ifndef INDEXFILENAMES_H
8
#define INDEXFILENAMES_H
9
10
#include "
LuceneObject.h
"
11
12
namespace
Lucene {
13
15
class
IndexFileNames
:
public
LuceneObject
{
16
public
:
17
virtual
~IndexFileNames
();
18
LUCENE_CLASS
(
IndexFileNames
);
19
20
public
:
22
static
const
String&
SEGMENTS
();
23
25
static
const
String&
SEGMENTS_GEN
();
26
28
static
const
String&
DELETABLE
();
29
31
static
const
String&
NORMS_EXTENSION
();
32
34
static
const
String&
FREQ_EXTENSION
();
35
37
static
const
String&
PROX_EXTENSION
();
38
40
static
const
String&
TERMS_EXTENSION
();
41
43
static
const
String&
TERMS_INDEX_EXTENSION
();
44
46
static
const
String&
FIELDS_INDEX_EXTENSION
();
47
49
static
const
String&
FIELDS_EXTENSION
();
50
52
static
const
String&
VECTORS_FIELDS_EXTENSION
();
53
55
static
const
String&
VECTORS_DOCUMENTS_EXTENSION
();
56
58
static
const
String&
VECTORS_INDEX_EXTENSION
();
59
61
static
const
String&
COMPOUND_FILE_EXTENSION
();
62
64
static
const
String&
COMPOUND_FILE_STORE_EXTENSION
();
65
67
static
const
String&
DELETES_EXTENSION
();
68
70
static
const
String&
FIELD_INFOS_EXTENSION
();
71
73
static
const
String&
PLAIN_NORMS_EXTENSION
();
74
76
static
const
String&
SEPARATE_NORMS_EXTENSION
();
77
79
static
const
String&
GEN_EXTENSION
();
80
85
static
const
HashSet<String>
INDEX_EXTENSIONS
();
86
89
static
const
HashSet<String>
INDEX_EXTENSIONS_IN_COMPOUND_FILE
();
90
91
static
const
HashSet<String>
STORE_INDEX_EXTENSIONS
();
92
static
const
HashSet<String>
NON_STORE_INDEX_EXTENSIONS
();
93
95
static
const
HashSet<String>
COMPOUND_EXTENSIONS
();
96
98
static
const
HashSet<String>
VECTOR_EXTENSIONS
();
99
104
static
String
fileNameFromGeneration
(
const
String& base,
const
String& extension, int64_t gen);
105
108
static
bool
isDocStoreFile
(
const
String& fileName);
109
111
static
String
segmentFileName
(
const
String& segmentName,
const
String& ext);
112
};
113
114
}
115
116
#endif
clucene.sourceforge.net