Class BM25FQuery


  • public final class BM25FQuery
    extends Query
    A Query that treats multiple fields as a single stream and scores terms as if you had indexed them as a single term in a single field. For scoring purposes this query implements the BM25F's simple formula described in: http://www.staff.city.ac.uk/~sb317/papers/foundations_bm25_review.pdf The per-field similarity is ignored but to be compatible each field must use a Similarity at index time that encodes norms the same way as SimilarityBase.computeNorm(org.apache.lucene.index.FieldInvertState).
    WARNING: This API is experimental and might change in incompatible ways in the next release.