public class MetadataFieldImpl extends FieldImpl implements MetadataField, Freezable<MetadataFieldImpl>
contentStore, description, displayName, fieldName
description, displayName, equals, hasContentStore, hashCode, name, setDescription, setDisplayName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
contentsFieldName
contentIdField, description, displayName, hasContentStore, name
ensureNotFrozen
public static void setMaxMetadataValuesToStore(int n)
public static int maxMetadataValuesToStore()
public FieldType type()
type
in interface MetadataField
public List<String> displayOrder()
displayOrder
in interface MetadataField
public String analyzerName()
analyzerName
in interface MetadataField
public String unknownValue()
unknownValue
in interface MetadataField
public UnknownCondition unknownCondition()
unknownCondition
in interface MetadataField
public Map<String,Integer> valueDistribution()
valueDistribution
in interface MetadataField
public ValueListComplete isValueListComplete()
isValueListComplete
in interface MetadataField
public Map<String,String> displayValues()
displayValues
in interface MetadataField
public String group()
group
in interface MetadataField
public String uiType()
uiType
in interface MetadataField
public String offsetsField()
Field
offsetsField
in interface Field
public org.apache.lucene.index.DocValuesType docValuesType()
public MetadataFieldImpl freeze()
freeze
in interface Freezable<MetadataFieldImpl>
public boolean isFrozen()
isFrozen
in interface Freezable<MetadataFieldImpl>
public MetadataFieldImpl setAnalyzer(String analyzer)
public MetadataFieldImpl setUnknownValue(String unknownValue)
public MetadataFieldImpl setUnknownCondition(UnknownCondition unknownCondition)
public MetadataFieldImpl setValues(com.fasterxml.jackson.databind.JsonNode values)
public MetadataFieldImpl setDisplayValues(com.fasterxml.jackson.databind.JsonNode displayValues)
public MetadataFieldImpl setDisplayOrder(List<String> displayOrder)
public MetadataFieldImpl setValueListComplete(boolean valueListComplete)
public MetadataFieldImpl addValue(String value)
value
- field valuepublic MetadataFieldImpl removeValue(String value)
value
- field value to removepublic MetadataFieldImpl resetForIndexing()
public MetadataFieldImpl setGroup(String group)
public MetadataFieldImpl setUiType(String uiType)
public void setDocValuesType(org.apache.lucene.index.DocValuesType docValuesType)
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.