List of usage examples for org.apache.lucene.search Weight interface-usage
From source file org.apache.mahout.utils.vectors.TF.java
/** * {@link org.apache.mahout.utils.vectors.Weight} based on term frequency only * **/ public class TF implements Weight {
From source file org.apache.mahout.utils.vectors.TFIDF.java
public class TFIDF implements Weight { private Similarity sim = new DefaultSimilarity(); public TFIDF() { }
From source file org.ninit.models.bm25.BM25BooleanWeight.java
/**
* Weight BM25 class, implements <I>public Scorer scorer(IndexReader reader)
* throws IOException</I> <BR>
* and <I>public Explanation explain(IndexReader reader, int doc) throws
* IOException </I><BR>
* Query weight is not used in this BM25 implementation.