public class PayloadSpanUtil extends Object
Constructor and Description |
---|
PayloadSpanUtil(IndexReader reader) |
Modifier and Type | Method and Description |
---|---|
Collection<byte[]> |
getPayloadsForQuery(Query query)
Query should be rewritten for wild/fuzzy support.
|
public PayloadSpanUtil(IndexReader reader)
reader
- that contains doc with payloads to extractpublic Collection<byte[]> getPayloadsForQuery(Query query) throws IOException
query
- IOException