Algolia 使用 autocomplete.js 突出显示 objectID
Algolia highlighting objectID using autocomplete.js
返回的 _highlightResult
对象不包含 ID
或 objectID
。可以退货吗?
上收到了回复
If you really need to search and highlight the object ID, we encourage you to duplicate its value to another attribute, and include that attribute in searchableAttributes
and attributesToHighlight
.
返回的 _highlightResult
对象不包含 ID
或 objectID
。可以退货吗?
If you really need to search and highlight the object ID, we encourage you to duplicate its value to another attribute, and include that attribute in
searchableAttributes
andattributesToHighlight
.