mirror of https://github.com/apache/lucene.git
LUCENE-2479: should have been public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@986669 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1473b59c0e
commit
0a61e87e25
|
@ -23,7 +23,7 @@ import java.util.Comparator;
|
||||||
* Score first, then frequency
|
* Score first, then frequency
|
||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
class SuggestWordScoreComparator implements Comparator<SuggestWord> {
|
public class SuggestWordScoreComparator implements Comparator<SuggestWord> {
|
||||||
@Override
|
@Override
|
||||||
public int compare(SuggestWord first, SuggestWord second) {
|
public int compare(SuggestWord first, SuggestWord second) {
|
||||||
// first criteria: the distance
|
// first criteria: the distance
|
||||||
|
|
Loading…
Reference in New Issue