Querying Terracotta
-
18-04-2021 - |
Question
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.
Solution
At least the enterprise version has its own search API:
OTHER TIPS
There was a good blog written on this topic recently: Querying Java Objects stored in Terracotta's NAM
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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow