Description
Setting up a suggester for authors using DocumentDictionaryFactory and payloadField. If no documents have data in the payload field, the dictionary will be empty.
<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>
It should use an empty payload instead.
Attachments
Issue Links
- duplicates
-
LUCENE-6486 DocumentDictionary entry iterator skips items with optional null payload field
- Closed
- is broken by
-
LUCENE-6486 DocumentDictionary entry iterator skips items with optional null payload field
- Closed
- is related to
-
LUCENE-5833 Suggestor Version 2 doesn't support multiValued fields
- Resolved