public class

ScoringTermFilter

extends Filter
java.lang.Object
   ↳ org.apache.lucene.search.Filter
     ↳ com.atlassian.confluence.search.contentnames.lucene.ScoringTermFilter

Class Overview

Filters by a particular term, and increments the score for each document that passes the filter.

Summary

Public Constructors
ScoringTermFilter(Term term, DocumentResultScores resultScores)
Construct a new ScoringTermFilter that will modify the supplied scores.
ScoringTermFilter(Term term, DocumentResultScores resultScores, byte scorePerMatch)
Construct a new ScoringTermFilter that will modify the supplied scores.
Public Methods
BitSet bits(IndexReader reader)
[Expand]
Inherited Methods
From class org.apache.lucene.search.Filter
From class java.lang.Object

Public Constructors

public ScoringTermFilter (Term term, DocumentResultScores resultScores)

Construct a new ScoringTermFilter that will modify the supplied scores.

Parameters
term the Term to filter against.

public ScoringTermFilter (Term term, DocumentResultScores resultScores, byte scorePerMatch)

Construct a new ScoringTermFilter that will modify the supplied scores.

Parameters
term the Term to filter against.
scorePerMatch number of points per match

Public Methods

public BitSet bits (IndexReader reader)

Throws
IOException