不能用连词替换析词方面
Can't replace disjunctive facet with a conjunctive one
我正在使用 refinementlist 小部件。当我使用 "or" 运算符时,它工作得很好。尽管当我将设置更改为 "and" 运算符时它会抛出错误:
Uncaught Error: my_attribute.name is not a retrieved facet.
facet 是在仪表板的 Attributes for faceting 中设置的。 (设置为可搜索或不可搜索没有任何区别)
有什么想法吗?
我必须做的是在我的 app.js
this.helper.state.facets = ['my_attribute.name']
魔法奏效了。 :-)
我正在使用 refinementlist 小部件。当我使用 "or" 运算符时,它工作得很好。尽管当我将设置更改为 "and" 运算符时它会抛出错误:
Uncaught Error: my_attribute.name is not a retrieved facet.
facet 是在仪表板的 Attributes for faceting 中设置的。 (设置为可搜索或不可搜索没有任何区别) 有什么想法吗?
我必须做的是在我的 app.js
this.helper.state.facets = ['my_attribute.name']
魔法奏效了。 :-)