[
https://issues.apache.org/jira/browse/SOLR-7086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl resolved SOLR-7086.
-------------------------------
Resolution: Duplicate
> 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: 6.0, 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.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]