Search 搜索时是否将字符串连接到solr字段值?
在搜索时是否可以将字符串连接到solr字段 例子: localhost:8983/solr/collection1/select?q=item_type%3Apostings&wt=json&indent=true 现在我有了一个字段id,我需要在每个id值之前添加文本“locality”。这样我就不需要在大型数据集上进行for循环。使用Solr 4.0可以为字段定义别名,将transformer应用于值。Search 搜索时是否将字符串连接到solr字段值?,search,solr,solrj,Search,Solr,Solrj,在搜索时是否可以将字符串连接到solr字段 例子: localhost:8983/solr/collection1/select?q=item_type%3Apostings&wt=json&indent=true 现在我有了一个字段id,我需要在每个id值之前添加文本“locality”。这样我就不需要在大型数据集上进行for循环。使用Solr 4.0可以为字段定义别名,将transformer应用于值。 我没有使用上面的内容,但是您可以通过使用函数query add with constan
我没有使用上面的内容,但是您可以通过使用函数query add with constant value修改值,或者定义一个自定义转换器来应用于别名字段,来了解上面的内容 你能帮我提个问题吗-