lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gsing...@apache.org
Subject svn commit: r629772 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/SimilarityDelegator.java
Date Thu, 21 Feb 2008 13:15:21 GMT
Author: gsingers
Date: Thu Feb 21 05:15:19 2008
New Revision: 629772

URL: http://svn.apache.org/viewvc?rev=629772&view=rev
Log:
LUCENE-1182: Added delegation to scorePayload

Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/src/java/org/apache/lucene/search/SimilarityDelegator.java

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=629772&r1=629771&r2=629772&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Thu Feb 21 05:15:19 2008
@@ -77,6 +77,8 @@
  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
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/SimilarityDelegator.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/SimilarityDelegator.java?rev=629772&r1=629771&r2=629772&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/SimilarityDelegator.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/SimilarityDelegator.java Thu Feb 21
05:15:19 2008
@@ -56,4 +56,7 @@
     return delegee.coord(overlap, maxOverlap);
   }
 
+  public float scorePayload(String fieldName, byte[] payload, int offset, int length) {
+    return delegee.scorePayload(fieldName, payload, offset, length);
+  }
 }



Mime
View raw message