Package org.elasticsearch.index.mapper
Class BinaryFieldMapper.CustomBinaryDocValuesField
java.lang.Object
org.elasticsearch.index.mapper.CustomDocValuesField
org.elasticsearch.index.mapper.BinaryFieldMapper.CustomBinaryDocValuesField
- All Implemented Interfaces:
org.apache.lucene.index.IndexableField
- Enclosing class:
- BinaryFieldMapper
public static class BinaryFieldMapper.CustomBinaryDocValuesField extends CustomDocValuesField
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CustomBinaryDocValuesField(java.lang.String name, byte[] bytes)
-
Method Summary
Modifier and Type Method Description void
add(byte[] bytes)
org.apache.lucene.util.BytesRef
binaryValue()
Methods inherited from class org.elasticsearch.index.mapper.CustomDocValuesField
fieldType, name, numericValue, readerValue, stringValue, tokenStream
-
Constructor Details
-
CustomBinaryDocValuesField
public CustomBinaryDocValuesField(java.lang.String name, byte[] bytes)
-
-
Method Details
-
add
public void add(byte[] bytes) -
binaryValue
public org.apache.lucene.util.BytesRef binaryValue()
-