Пример #1
0
 internal FacetHits(SparseFacetedSearcher.FacetName facetName, IndexReader reader, IEnumerable <int> queryDocidSet, IEnumerable <int> groupDocidSet, int maxDocPerFacet)
 {
     this.Name           = facetName;
     this.reader         = reader;
     this.maxDocPerFacet = maxDocPerFacet;
     this.queryDocidSet  = queryDocidSet;
     this.groupDocidSet  = groupDocidSet;
 }
 public FacetCount this[SparseFacetedSearcher.FacetName name]
 {
     get { return(indexer[name.ToString()]); }
 }