Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

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

Government Jobs Opening