Interface SearchInputField
-
- All Known Implementing Classes:
BaseSearchInputField
public interface SearchInputFieldA named field with a name and one or more values. This can be added to a SearchInputDocument and inserted into the search index.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddValues(Object... values)Add values to this field.voidaddValues(Collection<? extends Object> values)Add values to this field.floatgetBoost()ObjectgetFirstValue()May return null.StringgetName()Collection<Object>getValues()May return an empty collection, but never null.voidsetBoost(float boost)Set the boost level for this field.
-
-
-
Method Detail
-
addValues
void addValues(Object... values)
Add values to this field.
-
addValues
void addValues(Collection<? extends Object> values)
Add values to this field.
-
setBoost
void setBoost(float boost)
Set the boost level for this field.
-
getName
String getName()
-
getBoost
float getBoost()
-
getValues
Collection<Object> getValues()
May return an empty collection, but never null.
-
getFirstValue
Object getFirstValue()
May return null.
-
-