2011-03-14 65 views
2

ColdFusion支持Solr索引的Custom1到Custom4字段。使用Verity,你可以使用cf_custom1 ='blah'等来对这些进行过滤。如何在ColdFusion中搜索Solr中的自定义字段?

但是,看起来这些cf_custom1/4搜索是不可能的,并且在针对solr集合使用时会被忽略。

搜索“fuel”的集合返回与搜索(cf_custom2 = fuel)相同的结果,或者甚至(cf_custom20 = fuel)。

我的问题是:如何使用cfsearch在Solr集合上通过custom4字段搜索custom1?

回答

6

答案是使用custom2:[your value]。

谢谢Scott Stroz!