public override FacetResult GetTopChildren(int topN, string dim, params string[] path)
{
Facets facets;
if (!dimToFacets.TryGetValue(dim,out facets))
{
if (defaultFacets == null)
{
throw new System.ArgumentException("invalid dim \"" + dim + "\"");
}
facets = defaultFacets;
}
return facets.GetTopChildren(topN, dim, path);
}