public class PayloadSpanUtil extends Object
Constructor and Description |
---|
PayloadSpanUtil(IndexReaderContext context) |
Modifier and Type | Method and Description |
---|---|
Collection<byte[]> |
getPayloadsForQuery(Query query)
Query should be rewritten for wild/fuzzy support.
|
public PayloadSpanUtil(IndexReaderContext context)
context
- that contains doc with payloads to extractIndexReader.getContext()
public Collection<byte[]> getPayloadsForQuery(Query query) throws IOException
query
- rewritten queryIOException
- if there is a low-level I/O errorCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.