在Solr的文档,有选择删除使用查询文件,类似如下:使用查询更新solr文档?
<delete><query>*:*</query></delete>
<delete><query>id:298253</query>
<query>entitytype:BlogEntry</query></delete>
但是,我找不到任何有关更新基于查询的文档的任何引用。这可能与solr中的更新有关吗?基本上我想更新与查询匹配的所有文档的值。
喜欢的东西update prop1=val1, prop2=val2 where (prop3 < val3 and prop4=val4)
感谢,
-Vineel
在这个例子中,它“更新价格,其中id是1”,是否有可能说'update price where description =“Description 1”and test =“test1” – 2012-08-24 11:08:36