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; }