Class PayloadSpanUtil
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.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
PayloadSpanUtil
Namespace: Lucene.Net.Search.Payloads
Assembly: Lucene.Net.dll
Syntax
public class PayloadSpanUtil : object
Constructors
| Improve this Doc View SourcePayloadSpanUtil(IndexReaderContext)
Declaration
public PayloadSpanUtil(IndexReaderContext context)
Parameters
Type | Name | Description |
---|---|---|
IndexReaderContext | context | that contains doc with payloads to extract |
See Also
Methods
| Improve this Doc View SourceGetPayloadsForQuery(Query)
Query should be rewritten for wild/fuzzy support.
Declaration
public virtual ICollection<byte[]> GetPayloadsForQuery(Query query)
Parameters
Type | Name | Description |
---|---|---|
Query | query | rewritten query |
Returns
Type | Description |
---|---|
ICollection<System.Byte[]> | payloads Collection |