Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class MultiValuedBinaryDocValuesField
java.lang.Object
org.elasticsearch.index.mapper.CustomDocValuesField
org.elasticsearch.index.mapper.MultiValuedBinaryDocValuesField
- All Implemented Interfaces:
org.apache.lucene.index.IndexableField
- Direct Known Subclasses:
MultiValuedBinaryDocValuesField.IntegratedCount,MultiValuedBinaryDocValuesField.SeparateCount
A custom implementation of
BinaryDocValues that uses a Set to maintain a collection of unique
binary doc values for fields with multiple values per document.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected final booleanprotected final Collection<org.apache.lucene.util.BytesRef> Fields inherited from class org.elasticsearch.index.mapper.CustomDocValuesField
TYPE -
Method Summary
Methods inherited from class org.elasticsearch.index.mapper.CustomDocValuesField
fieldType, invertableType, name, numericValue, readerValue, storedValue, stringValue, tokenStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.lucene.index.IndexableField
getCharSequenceValue
-
Field Details
-
values
-
sorted
protected final boolean sorted -
docValuesByteCount
protected int docValuesByteCount
-
-
Method Details
-
add
public void add(org.apache.lucene.util.BytesRef value) -
count
public int count() -
writeLenAndValues
- Throws:
IOException
-
binaryValue
public abstract org.apache.lucene.util.BytesRef binaryValue()
-