Solr在Hue中搜索 - 是否可以禁用字段名称的自动填充?

时间:2017-01-02 15:48:46

标签: solr autocomplete autosuggest hue

在Solr Search中键入查询时,建议使用字段名称。它们来自变量{{$ root.collection.template.fieldsNames}}:

<input data-bind="clearable: q, typeahead: { target: q, source: $root.collection.template.fieldsNames, multipleValues: true, multipleValuesSeparator: ':', extraKeywords: 'AND OR TO', completeSolrRanges: true }, css:{'input-xlarge': $root.query.qs().length == 1, 'input-medium': $root.query.qs().length < 4, 'input-small': $root.query.qs().length >= 4}" maxlength="4096" type="text" class="search-query clearable input-xlarge input-medium x">

是否可以完全禁用此功能?
另一种选择可能是缩小建议的字段名称列表 - 是否支持?

Hue, Solr - Auto Fill of Search Terms是相关的,但问题是如何用搜索字词替换字段名称标注。

0 个答案:

没有答案