Ejemplo n.º 1
0
 public override Scorer Scorer(IndexReader reader, bool scoreDocsInOrder, bool topScorer)
 {
     return(new SpanScorer(query.GetSpans(reader), this, similarity, reader.Norms(query.GetField())));
 }
Ejemplo n.º 2
0
        // :NOTE: getBoost and setBoost are not proxied to the maskedQuery
        // ...this is done to be more consistent with thigns like SpanFirstQuery

        public override Spans GetSpans(IndexReader reader)
        {
            return(maskedQuery.GetSpans(reader));
        }