在HUE Solr UI中,可以选择在索引上创建要搜索的仪表板。搜索字段允许自动填充索引字段名称(根据下面的HTML代码段),但不能从现有条款的索引中自动填充搜索字词。
搜索框的HTML代码 -
<input data-bind="clearable: q, typeahead: { target: q, source: $root.collection.template.fieldsNames, multipleValues: true, multipleValuesSeparator: ':', extraKeywords: 'AND OR TO', completeSolrRanges: true }
有没有办法允许自动填写索引条款?如果有人实现了这个,你可以分享代码来做同样的事吗?
谢谢, 和Manish