Lucene.Net.Facet.FacetsCollector.GetMatchingDocs C# (CSharp) Method

GetMatchingDocs() public method

Returns the documents matched by the query, one GetMatchingDocs per visited segment.
public GetMatchingDocs ( ) : List
return List
        public virtual List<MatchingDocs> GetMatchingDocs()
        {
            if (docs != null)
            {
                matchingDocs.Add(new MatchingDocs(this.context, docs.DocIdSet, totalHits, scores));
                docs = null;
                scores = null;
                context = null;
            }

            return matchingDocs;
        }