public class PayloadSpanUtil
extends java.lang.Object
Constructor and Description |
---|
PayloadSpanUtil(IndexReaderContext context) |
Modifier and Type | Method and Description |
---|---|
java.util.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 java.util.Collection<byte[]> getPayloadsForQuery(Query query) throws java.io.IOException
query
- rewritten queryjava.io.IOException
- if there is a low-level I/O errorCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.