|
|
1
10
声明另一个具有ngram标记器的fieldtype(即其他名称),然后声明一个将fieldtype与ngram一起使用的字段,以及另一个具有标准“文本”fieldtype的字段。使用copyfield将一个复制到另一个。见 Indexing same data in multiple fields . |
|
|
2
8
另一种选择是应用
这将保持您当前的模式不变,即您不需要具有另一个标记器的附加字段。(
您的字段看起来如下所示:
|
|
|
Emeasoba Tochi · python、django、solr、haystack:编辑solr\u build\u schema BaseCommand时出现arg\u parse错误。add\u参数() 8 年前 |
|
|
J. C · Solr字段名规则? 8 年前 |
|
|
Bryan Ash · Solr filter查询可能为空的多值字段 8 年前 |
|
|
kouign_amann · 使用Solr按字母顺序对字符串排序 8 年前 |
|
|
Brendan · SolrCore正在加载Windows服务 8 年前 |
|
|
Fabio B. · 如何在Solr中排序/增强产品搜索结果 8 年前 |