顺化,Solr-自动填充搜索词 [英] Hue, Solr - Auto Fill of Search Terms
问题描述
在HUE Solr用户界面中,有一个选项可创建一个仪表板以在索引上进行搜索.搜索字段允许自动填充索引fieldsNames(按照下面的HTML代码段),但不能自动填充现有术语的索引中的搜索词.
In the HUE Solr UI, there is an option to create a Dashboard to Search on an index. The search Field allows auto fill of the Index fieldsNames (as per the below HTML Snippet), but not autofill of Search Terms from the Index of the existing terms.
搜索框的HTML代码-
HTML Code for the Search Box -
<input data-bind="clearable: q, typeahead: { target: q, source: $root.collection.template.fieldsNames, multipleValues: true, multipleValuesSeparator: ':', extraKeywords: 'AND OR TO', completeSolrRanges: true }
有没有办法允许自动填充索引条款?如果有人实现了此功能,您可以共享代码来做到这一点吗?
Is there a way to allow Autofill of Index Terms? If anyone has implemented this can you share the code to do the same?
谢谢, 曼尼什(Manish)
Thanks, Manish
推荐答案
This feature is not yet available in the new version of the Search App in Hue: https://issues.cloudera.org/browse/HUE-2983
这篇关于顺化,Solr-自动填充搜索词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!