public static class BinaryFieldMapper.CustomBinaryDocValuesField
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.document.FieldType |
TYPE |
Constructor and Description |
---|
CustomBinaryDocValuesField(java.lang.String name,
byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] bytes) |
org.apache.lucene.util.BytesRef |
binaryValue() |
float |
boost() |
org.apache.lucene.index.IndexableFieldType |
fieldType() |
java.lang.String |
name() |
java.lang.Number |
numericValue() |
java.io.Reader |
readerValue() |
java.lang.String |
stringValue() |
org.apache.lucene.analysis.TokenStream |
tokenStream(org.apache.lucene.analysis.Analyzer analyzer,
org.apache.lucene.analysis.TokenStream reuse) |
public CustomBinaryDocValuesField(java.lang.String name, byte[] bytes)
public void add(byte[] bytes)
public org.apache.lucene.util.BytesRef binaryValue()
public java.lang.String name()
name
in interface org.apache.lucene.index.IndexableField
public org.apache.lucene.index.IndexableFieldType fieldType()
fieldType
in interface org.apache.lucene.index.IndexableField
public float boost()
boost
in interface org.apache.lucene.index.IndexableField
public java.lang.String stringValue()
stringValue
in interface org.apache.lucene.index.IndexableField
public java.io.Reader readerValue()
readerValue
in interface org.apache.lucene.index.IndexableField
public java.lang.Number numericValue()
numericValue
in interface org.apache.lucene.index.IndexableField
public org.apache.lucene.analysis.TokenStream tokenStream(org.apache.lucene.analysis.Analyzer analyzer, org.apache.lucene.analysis.TokenStream reuse)
tokenStream
in interface org.apache.lucene.index.IndexableField