摘要: boolean org.apache.solr.update.processor.DistributedUpdateProcessor.getUpdatedDocument(AddUpdateCommand cmd, long versionOnUpdate) throws IOExceptionsolr的更新的方法 原来是先查一遍再更新 阅读全文
posted @ 2013-02-17 23:40 镆涵 阅读(141) 评论(0) 推荐(0)
摘要: solr的分组和统计功能http://localhost:8983/solr/select?q=*:*&stats=true&stats.field=price&stats.field=popularity&rows=0&indent=truehttp://localhost:8983/solr/collection1/select?q=*%3A*&wt=xml&indent=true&group=true&group.field=popularity&group.ngroups=true可以实现 sum min等 阅读全文
posted @ 2013-02-17 23:37 镆涵 阅读(854) 评论(0) 推荐(0)