【发布时间】:2021-08-03 02:27:10
【问题描述】:
我有 rangeInput 字段,其中有 Min 和 Max 输入,用户可以在其中添加价格进行搜索,我有以下价格搜索代码。
customRangeInput({
container: document.querySelector('#range-input'),
attribute: 'price',
}),
我正在添加如下方面:
curl \
-X POST 'https://search.example.com/indexes/maps/settings' \
--data '{
"searchableAttributes": [ "price" ]
}' -H "X-Meili-API-Key: xxxxxx"
但它说价格未设置为方面。我们不能在方面设置数值吗? (属性价格未设置为方面) 任何帮助都会很棒。
谢谢 桑杰
【问题讨论】:
标签: algolia instantsearch meilisearch