mirror of https://github.com/apache/lucene.git
LUCENE-1661: make SortField.getComparator public
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@778861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb5d9c56ff
commit
b369db97ec
|
@ -444,7 +444,7 @@ implements Serializable {
|
|||
* @param reversed True if the SortField is reversed
|
||||
* @return {@link FieldComparator} to use when sorting
|
||||
*/
|
||||
protected FieldComparator getComparator(final int numHits, final int sortPos, final boolean reversed) throws IOException {
|
||||
public FieldComparator getComparator(final int numHits, final int sortPos, final boolean reversed) throws IOException {
|
||||
|
||||
if (locale != null) {
|
||||
// TODO: it'd be nice to allow FieldCache.getStringIndex
|
||||
|
|
Loading…
Reference in New Issue