|Value:||existing field name|
The name of the field that contains the term string (e.g. keyword or categories) used to calculate suggestions.
The referenced field must be defined in your schema with the attribute
Only fields of type
TextField are allowed. Please refer to the Solr documentation for more information about Solr field types.
The Keyword Suggester supports multivalued fields.
Minimal configuration example of a field in the schema that can be used as source field for the Keyword Suggester:
<fieldType name="string" class="solr.StrField" /> <field name="plainKeywords" type="string" stored="true" multiValued="true" />