views:

170

answers:

3

Is there any way to Query against the objects stored by a Terracotta instance?

I am looking for SQL-Like Queries or any way to filter objects based on fields.

A: 

I've heard of people using josql

+2  A: 

There was a good blog written on this topic recently: Querying Java Objects stored in Terracotta's NAM

Taylor Gautier
A: 

JOSQL is iteration through all collection so if number of objects are large it could be slower.

You can read post http://tusharkhairnar.blogspot.com/2009/05/querying-java-objects-stored-in.html for implementing Indexing so that querying is fast.

There is tim-searchable released on forge site which has more features and uses Lucene framework.

Regards Tushar

tushar Khairnar