All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.browseengine.bobo.sort.DocComparator Maven / Gradle / Ivy

Go to download

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy