Beispiel #1
0
 public TopNSearcherAnonymousInnerClassHelper(AnalyzingSuggester outerInstance, FST <PairOutputs <long?, BytesRef> .Pair> fst, int topN, int maxQueueDepth, object comparator, BytesRef utf8Key, IList <LookupResult> results)
     : base(fst, topN, maxQueueDepth, comparator)
 {
     this.outerInstance = outerInstance;
     this.utf8Key       = utf8Key;
     this.results       = results;
     seen = new HashSet <BytesRef>();
 }
Beispiel #2
0
 public TopNSearcherAnonymousClass(
     AnalyzingSuggester outerInstance,
     FST <PairOutputs <Int64, BytesRef> .Pair> fst,
     int topN,
     int maxQueueDepth,
     IComparer <PairOutputs <Int64, BytesRef> .Pair> comparer,
     BytesRef utf8Key,
     IList <LookupResult> results)
     : base(fst, topN, maxQueueDepth, comparer)
 {
     this.outerInstance = outerInstance;
     this.utf8Key       = utf8Key;
     this.results       = results;
     seen = new JCG.HashSet <BytesRef>();
 }