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
Repository Revision Date User Message
ASF #629772 Thu Feb 21 13:15:19 UTC 2008 gsingers LUCENE-1182: Added delegation to scorePayload
Files Changed
MODIFY /lucene/java/trunk/src/java/org/apache/lucene/search/SimilarityDelegator.java
MODIFY /lucene/java/trunk/CHANGES.txt