[
https://issues.apache.org/jira/browse/SOLR-7086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545588#comment-14545588
]
Marius Grama commented on SOLR-7086:
------------------------------------
I take it so that the payload is an additional optional information that the
client of the suggest search handler can make use of in order to enrich the
suggestion. Mandatory is only the suggestion term.
> Suggester dictionary empty if payload field does not exist
> ----------------------------------------------------------
>
> Key: SOLR-7086
> URL: https://issues.apache.org/jira/browse/SOLR-7086
> Project: Solr
> Issue Type: Bug
> Components: Suggester
> Affects Versions: 4.10.3
> Reporter: Jan Høydahl
> Fix For: Trunk, 5.2
>
>
> Setting up a suggester for authors using {{DocumentDictionaryFactory}} and
> {{payloadField}}. If no documents have data in the payload field, the
> dictionary will be empty.
> {code:xml}
> <lst name="suggester">
> <str name="name">authors</str>
> <str name="lookupImpl">BlendedInfixLookupFactory</str>
> <str name="suggestAnalyzerFieldType">text_folded</str>
> <str name="dictionaryImpl">DocumentDictionaryFactory</str>
> <str name="field">authors_s</str>
> <str name="payloadField">not_exist_s</str>
> </lst>
> {code}
> It should use an empty payload instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]