Lucene++ - a full-featured, c++ search engine
API Documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
include
lucene++
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
12
namespace
Lucene
{
13
15
class
LPPAPI Constants {
16
private
:
17
Constants();
18
19
public
:
20
virtual
~Constants
();
21
22
public
:
23
static
String
OS_NAME
;
24
static
String
LUCENE_MAIN_VERSION
;
25
static
String
LUCENE_VERSION
;
26
};
27
32
class
LPPAPI LuceneVersion {
33
private
:
34
LuceneVersion();
35
36
public
:
37
virtual
~LuceneVersion
();
38
39
public
:
40
enum
Version
{
42
LUCENE_20
= 0,
43
45
LUCENE_21
,
46
48
LUCENE_22
,
49
51
LUCENE_23
,
52
54
LUCENE_24
,
55
57
LUCENE_29
,
58
62
LUCENE_30
,
63
65
77
LUCENE_CURRENT
78
};
79
80
public
:
81
static
bool
onOrAfter
(
LuceneVersion::Version
first,
LuceneVersion::Version
second);
82
};
83
84
}
85
86
#endif
Lucene::Constants::~Constants
virtual ~Constants()
Lucene::Constants::LUCENE_MAIN_VERSION
static String LUCENE_MAIN_VERSION
Definition
Constants.h:24
Lucene::Constants::OS_NAME
static String OS_NAME
Definition
Constants.h:23
Lucene::Constants::LUCENE_VERSION
static String LUCENE_VERSION
Definition
Constants.h:25
Lucene::LuceneVersion::~LuceneVersion
virtual ~LuceneVersion()
Lucene::LuceneVersion::Version
Version
Definition
Constants.h:40
Lucene::LuceneVersion::LUCENE_29
@ LUCENE_29
Match settings and bugs in Lucene's 2.9 release.
Definition
Constants.h:57
Lucene::LuceneVersion::LUCENE_20
@ LUCENE_20
Match settings and bugs in Lucene's 2.0 release.
Definition
Constants.h:42
Lucene::LuceneVersion::LUCENE_23
@ LUCENE_23
Match settings and bugs in Lucene's 2.3 release.
Definition
Constants.h:51
Lucene::LuceneVersion::LUCENE_30
@ LUCENE_30
Match settings and bugs in Lucene's 3.0 release.
Definition
Constants.h:62
Lucene::LuceneVersion::LUCENE_CURRENT
@ LUCENE_CURRENT
Add new constants for later versions here to respect order!
Definition
Constants.h:77
Lucene::LuceneVersion::LUCENE_21
@ LUCENE_21
Match settings and bugs in Lucene's 2.1 release.
Definition
Constants.h:45
Lucene::LuceneVersion::LUCENE_24
@ LUCENE_24
Match settings and bugs in Lucene's 2.4 release.
Definition
Constants.h:54
Lucene::LuceneVersion::LUCENE_22
@ LUCENE_22
Match settings and bugs in Lucene's 2.2 release.
Definition
Constants.h:48
Lucene::LuceneVersion::onOrAfter
static bool onOrAfter(LuceneVersion::Version first, LuceneVersion::Version second)
Lucene
Definition
AbstractAllTermDocs.h:12
clucene.sourceforge.net