如何在ColdFusion中搜索Solr中的自定义字段?

mar*_*her 2 coldfusion solr

ColdFusion支持Solr索引的Custom1到Custom4字段.使用Verity,您可以使用cf_custom1 ='blah'等过滤这些内容.

但是,当针对solr集合使用时,似乎无法进行这些cf_custom1/4搜索,并且只是被忽略.

搜索集合中的"燃料"会返回与搜索(cf_custom2 =燃料)或甚至(cf_custom20 =燃料)相同的结果.

我的问题是:如何使用cfsearch在Solr Collections上搜索custom1到custom4字段?

mar*_*her 6

答案是使用custom2:[你的价值].

谢谢Scott Stroz!