Issue Details (XML | Word | Printable)

Key: LUCENE-1182
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Grant Ingersoll
Reporter: Andi Vajda
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

SimilarityDelegator is missing a delegating scorePayload() method

Created: 21/Feb/08 12:19 AM   Updated: 11/Oct/08 12:49 PM
Return to search
Component/s: Search
Affects Version/s: 2.3
Fix Version/s: 2.4

Time Tracking:
Not Specified

Resolution Date: 21/Feb/08 01:15 PM


 Description  « Hide
The handy SimilarityDelegator method is missing a scoreDelegator() delegating method.
The fix is trivial, add the code below at the end of the class:

public float scorePayload(String fieldName, byte [] payload, int offset, int length)

{ return delegee.scorePayload(fieldName, payload, offset, length); }

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Grant Ingersoll made changes - 21/Feb/08 01:10 PM
Field Original Value New Value
Assignee Grant Ingersoll [ gsingers ]
Grant Ingersoll made changes - 21/Feb/08 01:15 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 2.4 [ 12312681 ]
Lucene Fields [New]
Michael McCandless made changes - 11/Oct/08 12:49 PM
Status Resolved [ 5 ] Closed [ 6 ]