com.browseengine.bobo.sort.DocComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bobo-browse Show documentation
Show all versions of bobo-browse Show documentation
Bobo is a Faceted Search implementation written purely in Java, an extension of Apache Lucene
The newest version!
package com.browseengine.bobo.sort;
import org.apache.lucene.search.ScoreDoc;
import org.apache.lucene.search.Scorer;
public abstract class DocComparator {
public abstract int compare(ScoreDoc doc1, ScoreDoc doc2);
@SuppressWarnings("rawtypes")
public abstract Comparable value(ScoreDoc doc);
public DocComparator setScorer(Scorer scorer) {
return this;
}
}