Lucene.Net.Facet.MultiFacets.GetTopChildren C# (CSharp) Method

GetTopChildren() public method

public GetTopChildren ( int topN, string dim ) : FacetResult
topN int
dim string
return FacetResult
        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);
        }