public interface SearchInputDocument
| Modifier and Type | Method and Description |
|---|---|
void |
addField(SearchInputField field)
Put the field into the document.
|
void |
addField(String name,
Collection<Object> values)
Create a field with this name and values, and put it into the document.
|
void |
addField(String name,
float boost,
Collection<Object> values)
Create a field with this name, boost level and values, and put it into
the document.
|
void |
addField(String name,
float boost,
Object... values)
Create a field with this name, boost level and values, and put it into
the document.
|
void |
addField(String name,
Object... values)
Create a field with this name and values, and put it into the document.
|
SearchInputField |
createField(String name)
Create a field that can be populated and added to the document.
|
float |
getDocumentBoost() |
SearchInputField |
getField(String name)
May return null.
|
Map<String,SearchInputField> |
getFieldMap()
May return an empty map, but never null.
|
void |
setDocumentBoost(float searchBoost)
Set a boost level for the document as a whole.
|
SearchInputField createField(String name)
void addField(SearchInputField field)
void addField(String name, Object... values)
void addField(String name, Collection<Object> values)
void addField(String name, float boost, Object... values)
void addField(String name, float boost, Collection<Object> values)
void setDocumentBoost(float searchBoost)
float getDocumentBoost()
SearchInputField getField(String name)
Map<String,SearchInputField> getFieldMap()
Copyright © 2022. All rights reserved.