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
SpanQueryFilter.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 SPANQUERYFILTER_H
8 #define SPANQUERYFILTER_H
9
10 #include "SpanFilter.h"
11
12 namespace Lucene
13 {
20 class LPPAPI SpanQueryFilter : public SpanFilter
21 {
22 public:
25 SpanQueryFilter(SpanQueryPtr query = SpanQueryPtr());
26
27 virtual ~SpanQueryFilter();
28
29 LUCENE_CLASS(SpanQueryFilter);
30
31 protected:
32 SpanQueryPtr query;
33
34 public:
35 virtual DocIdSetPtr getDocIdSet(IndexReaderPtr reader);
36 virtual SpanFilterResultPtr bitSpans(IndexReaderPtr reader);
37
38 SpanQueryPtr getQuery();
39
40 virtual String toString();
41 virtual bool equals(LuceneObjectPtr other);
42 virtual int32_t hashCode();
43 };
44 }
45
46 #endif

clucene.sourceforge.net