Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef PAYLOADSPANUTIL_H
8 #define PAYLOADSPANUTIL_H
boost::shared_ptr< SpanQuery > SpanQueryPtr
Definition: LuceneTypes.h:450
PayloadSpanUtil(const IndexReaderPtr &reader)
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
boost::shared_ptr< Query > QueryPtr
Definition: LuceneTypes.h:420
Experimental class to get set of payloads for most standard Lucene queries. Operates like Highlighter...
Definition: PayloadSpanUtil.h:16
IndexReaderPtr reader
Definition: PayloadSpanUtil.h:23
void getPayloads(Collection< ByteArray > payloads, const SpanQueryPtr &query)
Definition: AbstractAllTermDocs.h:12
virtual ~PayloadSpanUtil()
Base class for all Lucene classes.
Definition: LuceneObject.h:31
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition: LuceneTypes.h:157
Collection< ByteArray > getPayloadsForQuery(const QueryPtr &query)
Query should be rewritten for wild/fuzzy support.
void queryToSpanQuery(const QueryPtr &query, Collection< ByteArray > payloads)
clucene.sourceforge.net