顺化,Solr-自动填充搜索词 [英] Hue, Solr - Auto Fill of Search Terms

查看:109
本文介绍了顺化,Solr-自动填充搜索词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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

推荐答案

此功能尚未在Hue的新版搜索应用程序中提供:

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆