Experimental class to get set of payloads for most standard Lucene queries. Operates like Highlighter - IndexReader should only contain doc of interest, best to use MemoryIndex.
More...
#include <PayloadSpanUtil.h>
Experimental class to get set of payloads for most standard Lucene queries. Operates like Highlighter - IndexReader should only contain doc of interest, best to use MemoryIndex.
◆ PayloadSpanUtil()
Lucene::PayloadSpanUtil::PayloadSpanUtil |
( |
const IndexReaderPtr & |
reader | ) |
|
- Parameters
-
reader | That contains doc with payloads to extract |
◆ ~PayloadSpanUtil()
virtual Lucene::PayloadSpanUtil::~PayloadSpanUtil |
( |
| ) |
|
|
virtual |
◆ _getClassName()
static String Lucene::PayloadSpanUtil::_getClassName |
( |
| ) |
|
|
inlinestatic |
◆ getClassName()
virtual String Lucene::PayloadSpanUtil::getClassName |
( |
| ) |
|
|
inlinevirtual |
◆ getPayloads()
◆ getPayloadsForQuery()
Collection< ByteArray > Lucene::PayloadSpanUtil::getPayloadsForQuery |
( |
const QueryPtr & |
query | ) |
|
Query should be rewritten for wild/fuzzy support.
- Returns
- payloads Collection
◆ queryToSpanQuery()
void Lucene::PayloadSpanUtil::queryToSpanQuery |
( |
const QueryPtr & |
query, |
|
|
Collection< ByteArray > |
payloads |
|
) |
| |
|
protected |
◆ shared_from_this()
boost::shared_ptr< PayloadSpanUtil > Lucene::PayloadSpanUtil::shared_from_this |
( |
| ) |
|
|
inline |
◆ reader
The documentation for this class was generated from the following file: