mirror of https://github.com/apache/lucene.git
LUCENE-1972: Restore SortField.getComparatorSource (it was accidentally removed in 3.0.0).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@893093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7d35aafe71
commit
e6253de226
|
@ -40,6 +40,12 @@ API Changes
|
|||
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
|
||||
|
|
|
@ -254,6 +254,13 @@ implements Serializable {
|
|||
return reverse;
|
||||
}
|
||||
|
||||
/** Returns the {@link FieldComparatorSource} used for
|
||||
* custom sorting
|
||||
*/
|
||||
public FieldComparatorSource getComparatorSource() {
|
||||
return comparatorSource;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder buffer = new StringBuilder();
|
||||
|
|
Loading…
Reference in New Issue