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


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

clucene.sourceforge.net