Suggesters are now compatible with ES v2 and v5, such that the _source will be available in the suggestion response, and should be used as the source of information. The previously used fields such as output and payload are no longer available in ES5, hence all UI elements which use suggesters should rely only on _source.
Suggesters are now compatible with ES v2 and v5, such that the
_source
will be available in the suggestion response, and should be used as the source of information. The previously used fields such asoutput
andpayload
are no longer available in ES5, hence all UI elements which use suggesters should rely only on_source
.This requires changes in indexing receivers signals, and in case of generic invenio modules, the suggesters have to be indexed two-way (ES2 and ES5 style), see for example: https://github.com/nharraud/invenio-records-rest/commit/aade39fe0ba3dc8c9719c8ea5b9785a6b09091f6#diff-484462fced51d1a06b1d93b4a44dd535R236