Organizational Research By

Surprising Reserch Topic questions - Question:How to handle a nested_set association in ElasticSearch / Tire?

We're working on integrating ElasticSearch into our RoR3 application and have decided to use the Tire gem.

We're still learning how to use this amazing gem but couldn't find a tutorial on how to do the following:

A Project has many Locations.
A Location is a nested set with n levels:

- Canada
 - List item
 - Quebec
 - Montreal
 - Quebec City
 - Ontario
 - ...
- US
 - each of the 51 states
 - main cities in each of the different states
 - List item

What would be the best way to index such a structure in ElasticSearch?


asked Sep 13, 2013 in ANDROID by android_master
edited Sep 12, 2013
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.