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
ValueSourceQuery.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2011 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 VALUESOURCEQUERY_H
8
#define VALUESOURCEQUERY_H
9
10
#include "
Query.h
"
11
12
namespace
Lucene
13
{
22
class
LPPAPI
ValueSourceQuery
:
public
Query
23
{
24
public
:
27
ValueSourceQuery
(
ValueSourcePtr
valSrc);
28
29
virtual
~
ValueSourceQuery
();
30
31
LUCENE_CLASS
(
ValueSourceQuery
);
32
33
public
:
34
ValueSourcePtr
valSrc
;
35
36
public
:
37
using
Query::toString
;
38
39
virtual
QueryPtr
rewrite(
IndexReaderPtr
reader);
40
virtual
void
extractTerms(SetTerm terms);
41
virtual
WeightPtr
createWeight(
SearcherPtr
searcher);
42
virtual
String toString(
const
String& field);
43
virtual
bool
equals(
LuceneObjectPtr
other);
44
virtual
int32_t hashCode();
45
virtual
LuceneObjectPtr
clone(
LuceneObjectPtr
other =
LuceneObjectPtr
());
46
};
47
}
48
49
#endif
clucene.sourceforge.net