Hierarchy facets using Elasticsearch -


i using aggregations/sub-aggregations navigate through facets hierarchy. holds long single row contains 1 value each attribute. how can achieve proper hierarchy filtering below case.

let consider following 3 rows of course. each of course available in different locations

course id,  contintent, country , location  course 1    asia ,india, hyd             asia ,india, bangalore                         course 2    asia ,india, hyd             asia ,pak, hyd           course 3    europe, germany , brussels             asia,india,hyd 

once if navigate through facets asia selected facet, in country should not have germany coming facet. countries asia should listed. of multi valued data brings germany in consideration.

is there way can implement filtering considering real hierarchy?


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -