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
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
Filter.h
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Lucene::Filter
Abstract base class for restricting which documents may be returned during searching.
Definition Filter.h:15
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::SpanFilter::bitSpans
virtual SpanFilterResultPtr bitSpans(const IndexReaderPtr &reader)=0
Returns a SpanFilterResult with true for documents which should be permitted in search results,...
Lucene::SpanFilter::~SpanFilter
virtual ~SpanFilter()
Lucene
Definition AbstractAllTermDocs.h:12
Lucene::SpanFilterResultPtr
boost::shared_ptr< SpanFilterResult > SpanFilterResultPtr
Definition LuceneTypes.h:445
Lucene::IndexReaderPtr
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157

clucene.sourceforge.net