Class Overview
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.
WARNING: The status of the Payloads feature is experimental.
The APIs introduced here might change in the future and will not be
supported anymore in such a case.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
PayloadSpanUtil
(IndexReader reader)
Parameters
reader
| that contains doc with payloads to extract
|
Public Methods
public
Collection<byte[]>
getPayloadsForQuery
(Query query)
Query should be rewritten for wild/fuzzy support.