有没有办法查询Terracotta实例存储的对象?
我正在寻找类似SQL的查询或任何基于字段过滤对象的方法。
发布于 2012-01-24 00:42:25
至少企业版有自己的搜索API:
http://www.terracotta.org/documentation/enterprise-ehcache/api-guide#enterprise-ehcache-search-api-for-clustered-caches
发布于 2009-04-09 23:29:46
最近有一个很好的关于这个话题的博客:Querying Java Objects stored in Terracotta's NAM
发布于 2009-07-09 08:31:22
JOSQL迭代遍历所有集合,因此如果对象数量很大,速度可能会更慢。
你可以阅读post http://tusharkhairnar.blogspot.com/2009/05/querying-java-objects-stored-in.html来实现索引,这样查询就会更快。
在forge网站上发布了tim-searchable,它有更多的功能,并使用Lucene框架。
关于图沙尔
https://stackoverflow.com/questions/736016
复制相似问题