SOLR - delta导入不与last_modified [英] SOLR - delta import not with last_modified

查看:190
本文介绍了SOLR - delta导入不与last_modified的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只看到了使用delta导入和last_modified的方法。有没有其他的方式来使用时间戳做delta_imports withut?例如,如果我有唯一的键(整数),我可以告诉SOLR索引只有那些,这是大于我最后一个唯一键吗?

解决方案<所以你肯定可以自己破解这个。但是,如果您操纵现有的行,那又如何呢?如果你使用最后一个唯一的键,你不会知道现有的行改变了......



你能更全面地解释这个用例吗?试图想出一些可能解决的疯狂性能问题!


I saw only ways using delta import with last_modified. Is there some other ways to do delta_imports withut using timestamps? For example, if i have unique key(integer), can i tell SOLR to index only those, which are greater then my last unique key?

解决方案

So you could definitely hack this in yourself. However, what about if you manipulate an existing row? If you use last unique key you won't know that an existing row changed...

Can you explain more fully the usecase for this? Trying to think of some sort of crazy performance issue that this could resolve!

这篇关于SOLR - delta导入不与last_modified的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆