| java.lang.Object | |
| ↳ | com.atlassian.confluence.search.contentnames.FloatArrayDocumentResultScores |
A DocumentScores implementation which will keep each score in a float array where the position in the
array matches the docId for each document.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Iterates through all docId and score pairs where the score is greater than zero and then executes the block
against each pair.
| |||||||||||
Retrieve the score for the specified docId.
| |||||||||||
Increments the score for docId.
| |||||||||||
Multiply the score of the specified document by the supplied factor.
| |||||||||||
Override any existing score for the specified document and replace with the new supplied score.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||||
From interface
com.atlassian.confluence.search.contentnames.DocumentResultScores
| |||||||||||||||||||||
| size | size of the underlying byte array |
|---|
Iterates through all docId and score pairs where the score is greater than zero and then executes the block against each pair.
| block | the block to run against each document id and score pair. |
|---|
Retrieve the score for the specified docId.
| docId | the document id |
|---|
Increments the score for docId. If this score exceeds MAX_VALUE the score is left at the max value.
| docId | the document id |
|---|---|
| increment | how much to increment the score by. Must be greater than 0. |
Multiply the score of the specified document by the supplied factor.
| docId | the document Id to change the score of |
|---|---|
| factor | the factor to multiple the document's current score by. |
Override any existing score for the specified document and replace with the new supplied score.
| docId | the document Id to set the score for. |
|---|---|
| score | the new score for this document. |

