Lucene++ - a full-featured, c++ search engine
API Documentation


Loading...
Searching...
No Matches
Constants.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 CONSTANTS_H
8#define CONSTANTS_H
9
10#include "Lucene.h"
11
12namespace Lucene {
13
15class LPPAPI Constants {
16private:
17 Constants();
18
19public:
20 virtual ~Constants();
21
22public:
23 static String OS_NAME;
24 static String LUCENE_MAIN_VERSION;
25 static String LUCENE_VERSION;
26};
27
32class LPPAPI LuceneVersion {
33private:
35
36public:
37 virtual ~LuceneVersion();
38
39public:
40 enum Version {
42 LUCENE_20 = 0,
43
46
49
52
55
58
63
65
77 LUCENE_CURRENT
78 };
79
80public:
82};
83
84}
85
86#endif
Some useful Lucene constants.
Definition Constants.h:15
virtual ~Constants()
static String LUCENE_MAIN_VERSION
Definition Constants.h:24
static String OS_NAME
Definition Constants.h:23
static String LUCENE_VERSION
Definition Constants.h:25
Use by certain classes to match version compatibility across releases of Lucene.
Definition Constants.h:32
Version
Definition Constants.h:40
@ LUCENE_29
Match settings and bugs in Lucene's 2.9 release.
Definition Constants.h:57
@ LUCENE_23
Match settings and bugs in Lucene's 2.3 release.
Definition Constants.h:51
@ LUCENE_30
Match settings and bugs in Lucene's 3.0 release.
Definition Constants.h:62
@ LUCENE_21
Match settings and bugs in Lucene's 2.1 release.
Definition Constants.h:45
@ LUCENE_24
Match settings and bugs in Lucene's 2.4 release.
Definition Constants.h:54
@ LUCENE_22
Match settings and bugs in Lucene's 2.2 release.
Definition Constants.h:48
static bool onOrAfter(LuceneVersion::Version first, LuceneVersion::Version second)
Definition AbstractAllTermDocs.h:12

clucene.sourceforge.net