Class IndexOperation
- java.lang.Object
-
- com.yahoo.searchdefinition.fieldoperation.IndexOperation
-
- All Implemented Interfaces:
FieldOperation
,Comparable<FieldOperation>
public class IndexOperation extends Object implements FieldOperation
- Author:
- Einar M R Rosenvinge
-
-
Constructor Summary
Constructors Constructor Description IndexOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAlias(String alias)
void
apply(SDField field)
Apply this operation on the given fieldvoid
applyToIndex(Index index)
String
getIndexName()
boolean
getPrefix()
String
getStemming()
Index.Type
getType()
void
setArity(int arity)
void
setDensePostingListThreshold(double densePostingListThreshold)
void
setEnableBm25(boolean value)
void
setHnswIndexParams(HnswIndexParams.Builder params)
void
setIndexName(String indexName)
void
setLowerBound(long value)
void
setPrefix(Boolean prefix)
void
setStemming(String stemming)
void
setType(Index.Type type)
void
setUpperBound(long value)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.yahoo.searchdefinition.fieldoperation.FieldOperation
compareTo
-
-
-
-
Method Detail
-
getIndexName
public String getIndexName()
-
setIndexName
public void setIndexName(String indexName)
-
getPrefix
public boolean getPrefix()
-
setPrefix
public void setPrefix(Boolean prefix)
-
addAlias
public void addAlias(String alias)
-
getStemming
public String getStemming()
-
setStemming
public void setStemming(String stemming)
-
apply
public void apply(SDField field)
Description copied from interface:FieldOperation
Apply this operation on the given field- Specified by:
apply
in interfaceFieldOperation
-
applyToIndex
public void applyToIndex(Index index)
-
getType
public Index.Type getType()
-
setType
public void setType(Index.Type type)
-
setArity
public void setArity(int arity)
-
setLowerBound
public void setLowerBound(long value)
-
setUpperBound
public void setUpperBound(long value)
-
setDensePostingListThreshold
public void setDensePostingListThreshold(double densePostingListThreshold)
-
setEnableBm25
public void setEnableBm25(boolean value)
-
setHnswIndexParams
public void setHnswIndexParams(HnswIndexParams.Builder params)
-
-