public class UndeadNormsProducer extends NormsProducer
Modifier and Type | Field and Description |
---|---|
static NormsProducer |
INSTANCE
Use this instance
|
static String |
LEGACY_UNDEAD_NORMS_KEY
Used to bring undead norms back to life.
|
Modifier and Type | Method and Description |
---|---|
void |
checkIntegrity() |
void |
close() |
Collection<Accountable> |
getChildResources() |
NormsProducer |
getMergeInstance() |
NumericDocValues |
getNorms(FieldInfo field) |
static boolean |
isUndead(FieldInfo fieldInfo)
Returns true if this field has undead norms.
|
static boolean |
isUndeadArmy(FieldInfos fieldInfos) |
long |
ramBytesUsed() |
static void |
setUndead(Map<String,String> attributes)
Call this to note that the field with these attributes has undead norms.
|
String |
toString() |
public static final String LEGACY_UNDEAD_NORMS_KEY
public static final NormsProducer INSTANCE
public static boolean isUndeadArmy(FieldInfos fieldInfos)
public static boolean isUndead(FieldInfo fieldInfo)
public static void setUndead(Map<String,String> attributes)
public NumericDocValues getNorms(FieldInfo field) throws IOException
getNorms
in class NormsProducer
IOException
public void close()
public long ramBytesUsed()
public Collection<Accountable> getChildResources()
public void checkIntegrity() throws IOException
checkIntegrity
in class NormsProducer
IOException
public NormsProducer getMergeInstance() throws IOException
getMergeInstance
in class NormsProducer
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.