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

SpanFilter.h
Go to the documentation of this file.
1 // 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 SPANFILTER_H
8 #define SPANFILTER_H
9
10 #include "Filter.h"
11
12 namespace Lucene {
13
21 class LPPAPI SpanFilter : public Filter {
22 public:
23 virtual ~SpanFilter();
24 LUCENE_CLASS(SpanFilter);
25
26 public:
31 virtual SpanFilterResultPtr bitSpans(const IndexReaderPtr& reader) = 0;
32 };
33
34 }
35
36 #endif
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::SpanFilterResultPtr
boost::shared_ptr< SpanFilterResult > SpanFilterResultPtr
Definition: LuceneTypes.h:445
Lucene::SpanFilter
Abstract base class providing a mechanism to restrict searches to a subset of an index and also maint...
Definition: SpanFilter.h:21
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::IndexReaderPtr
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
Lucene::Filter
Abstract base class for restricting which documents may be returned during searching.
Definition: Filter.h:15
Filter.h

clucene.sourceforge.net