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:
Michael McCandless 2009-05-26 19:52:52 +00:00
parent cb5d9c56ff
commit b369db97ec
1 changed files with 1 additions and 1 deletions

View File

@ -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