public class PayloadSpanUtil extends Object
| Constructor | Description |
|---|---|
PayloadSpanUtil(IndexReader reader) |
| Modifier and Type | Method | 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 - IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.