I am trying to figure out a way to implement faceting with hierarchies in solr and cannot figure out how to do this in my situation. I read several articles on hierarchy execution in solr along with the solutions in patch 64 and 792. The main problem that I am facing is that I have objects that can belong to several branches of the hierarchy. The current form of my data is a user document with MVAs for the country, state and city.
Take, for example, a geographical hierarchy so that people can list their services to the level of the city. A person can serve the entire Alabama, but only some cities in Georgia. Now the number of lights at the state level counts individuals serving the area, which is 1 for Alabama and 1 for Georgia, and when expanded to the city level, it has an account for each city (in other words, the amount of the city’s calculations will not necessarily be equal to the state account, since calculations are not mutually exclusive). A.
USA (1)Georgia (1)Atlanta (1)
Columbus (0)
Athens (0)
Alabama (1)Mobile (1)
Birmingham (1)
Huntsville (1)
, , - , , , , , , . solr-64 , , US/Alabama/Mobile/ US/Georgia/Atlanta/ . , .
?