lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r893093 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/search/SortField.java
Date Tue, 22 Dec 2009 07:15:04 GMT
Author: uschindler
Date: Tue Dec 22 07:15:03 2009
New Revision: 893093

URL: http://svn.apache.org/viewvc?rev=893093&view=rev
Log:
LUCENE-1972: Restore SortField.getComparatorSource (it was accidentally removed in 3.0.0).


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

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?rev=893093&r1=893092&r2=893093&view=diff
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Tue Dec 22 07:15:03 2009
@@ -40,6 +40,12 @@
   until Lucene 4.0 the default one will be deprecated.
   (Shai Erera via Uwe Schindler) 
 
+* LUCENE-1609: Restore IndexReader.getTermInfosIndexDivisor (it was
+  accidentally removed in 3.0.0)  (Mike McCandless)
+
+* LUCENE-1972: Restore SortField.getComparatorSource (it was
+  accidentally removed in 3.0.0)  (Uwe Schindler)
+
 Bug fixes
 
 * LUCENE-2092: BooleanQuery was ignoring disableCoord in its hashCode

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/SortField.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/SortField.java?rev=893093&r1=893092&r2=893093&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/SortField.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/SortField.java Tue Dec 22 07:15:03
2009
@@ -254,6 +254,13 @@
     return reverse;
   }
 
+  /** Returns the {@link FieldComparatorSource} used for
+   * custom sorting
+   */
+  public FieldComparatorSource getComparatorSource() {
+    return comparatorSource;
+  }
+
   @Override
   public String toString() {
     StringBuilder buffer = new StringBuilder();



Mime
View raw message