public override void Collect(int doc)
            {
                int freq = 0;

                foreach (Scorer scorer in TqsSet)
                {
                    if (doc == scorer.DocID())
                    {
                        freq += scorer.Freq();
                    }
                }
                DocCounts[doc + DocBase] = freq;
                Collector.Collect(doc);
            }
Beispiel #2
0
            public virtual void Collect(int doc)
            {
                int freq = 0;

                foreach (Scorer scorer in TqsSet)
                {
                    if (doc == scorer.DocID)
                    {
                        freq += scorer.Freq;
                    }
                }
                DocCounts[doc + DocBase] = freq;
                Collector.Collect(doc);
            }