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

如何在ColdFusion中的Solr中搜索自定义字段?,coldfusion,solr,Coldfusion,Solr,ColdFusion支持Solr索引的Custom1到Custom4字段。使用Verity,您可以使用cf_custom1='blah'等过滤这些内容 但是,在针对solr集合使用时,这些cf_custom1/4搜索似乎是不可能的,并且会被忽略 在集合中搜索“fuel”返回的结果与搜索(cf_custom2=fuel)或甚至(cf_custom20=fuel)的结果相同 我的问题是:如何使用cfsearch在Solr集合上搜索custom1到custom4字段?答案是使用custom2:[您的值

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

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

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


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

答案是使用custom2:[您的值]

谢谢Scott Stroz