Example usage for Java org.apache.lucene.search.similarities BM25Similarity fields, constructors, methods, implement or subclass
The text is from its open source code.
BM25Similarity() BM25 with these default values:
| |
BM25Similarity(float k1, float b) BM25 with the supplied parameter values. |
long | computeNorm(FieldInvertState state) |
float | getB() Returns the b parameter |
boolean | getDiscountOverlaps() Returns true if overlap tokens are discounted from the document's length. |
float | getK1() Returns the k1 parameter |
void | setDiscountOverlaps(boolean v) Sets whether overlap tokens (Tokens with 0 position increment) are ignored when computing norm. |