LUCENE-1182: Added delegation to scorePayload

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@629772 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2008-02-21 13:15:19 +00:00
parent 37a060c15c
commit d5271e5619
2 changed files with 5 additions and 0 deletions

View File

@ -77,6 +77,8 @@ Bug fixes
5. LUCENE-1179: Fixed assert statement that was incorrectly
preventing Fields with empty-string field name from working.
(Sergey Kabashnyuk via Mike McCandless)
6. LUCENE-1182: Added scorePayload to SimilarityDelegator (Andi Vajda via Grant Ingersoll)
New features

View File

@ -56,4 +56,7 @@ public class SimilarityDelegator extends Similarity {
return delegee.coord(overlap, maxOverlap);
}
public float scorePayload(String fieldName, byte[] payload, int offset, int length) {
return delegee.scorePayload(fieldName, payload, offset, length);
}
}