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
QueryWrapperFilter.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 QUERYWRAPPERFILTER_H
8
#define QUERYWRAPPERFILTER_H
9
10
#include "
Filter.h
"
11
12
namespace
Lucene
13
{
20
class
LPPAPI
QueryWrapperFilter
:
public
Filter
21
{
22
public
:
24
QueryWrapperFilter
(
QueryPtr
query);
25
26
virtual
~
QueryWrapperFilter
();
27
28
LUCENE_CLASS
(
QueryWrapperFilter
);
29
30
protected
:
31
QueryPtr
query;
32
33
public
:
34
virtual
DocIdSetPtr
getDocIdSet(
IndexReaderPtr
reader);
35
virtual
String toString();
36
virtual
bool
equals(
LuceneObjectPtr
other);
37
virtual
int32_t hashCode();
38
};
39
}
40
41
#endif
clucene.sourceforge.net