public class PayloadUtils extends Object
Constructor and Description |
---|
PayloadUtils() |
Modifier and Type | Method and Description |
---|---|
static SpanQuery |
createSpanQuery(String field,
String value,
Analyzer analyzer)
The generated SpanQuery will be either a SpanTermQuery or an ordered, zero slop SpanNearQuery, depending
on how many tokens are emitted.
|
static PayloadDecoder |
getPayloadDecoder(FieldType fieldType) |
static String |
getPayloadEncoder(FieldType fieldType) |
static PayloadFunction |
getPayloadFunction(String func) |
public static PayloadDecoder getPayloadDecoder(FieldType fieldType)
public static PayloadFunction getPayloadFunction(String func)
public static SpanQuery createSpanQuery(String field, String value, Analyzer analyzer) throws IOException
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.