java.lang.Object | ||
↳ | org.apache.lucene.search.Filter | |
↳ | com.atlassian.confluence.search.contentnames.lucene.ScoringPrefixFilter |
Filters by prefix and increments the score for each document that passes the filter.
If a document passes the filter and the document term is exactly the same as the filter term then the score gets an extra increment.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct a new filter that will update score in the supplied DocumentScores.
| |||||||||||
Construct a new ScoringTermFilter that will modify the supplied scores.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.Filter
| |||||||||||||||
From class java.lang.Object |
Construct a new filter that will update score in the supplied DocumentScores.
Construct a new ScoringTermFilter that will modify the supplied scores.
term | the Term to filter against. |
---|---|
scorePerMatch | number of points per match |