// NOTE: The Weight.Scorer method lost the scoreDocsInOrder and topScorer parameters between
            // Lucene 4.3.0 and 4.8.0. They are not used by BoboBrowse anyway, so the code here diverges
            // from the original Java source to remove these two parameters.

            public override Scorer GetScorer(AtomicReaderContext context, IBits acceptDocs)
            {
                SectionSearchScorer scorer = new SectionSearchScorer(this.Query, m_weight, this.Value, context.AtomicReader);

                return(scorer);
            }
            public virtual Scorer Scorer(IndexReader reader)
            {
                SectionSearchScorer scorer = new SectionSearchScorer(this.Query, _similarity, Value, reader);

                return scorer;
            }
Beispiel #3
0
            public virtual Scorer Scorer(IndexReader reader)
            {
                SectionSearchScorer scorer = new SectionSearchScorer(this.Query, _similarity, Value, reader);

                return(scorer);
            }