Open chris-martin opened 3 years ago
@dcoutts If you might be able to say how you selected these parameter values for the demo program, any recollections would be most welcome. https://github.com/well-typed/full-text-search/blob/a87317c94f326fc7fb83ef998d84d1ccaac1f4ea/demo/PackageSearch.hs#L82-L88
I've found this package pretty easy to work with so far, with the exception of
SearchRankParameters
. In particular, I don't understand whatparamK1
andparamB
mean. I see them mentioned in The Probabilistic Relevance Framework: BM25 and Beyond section 3.4.5, Document Length, and I see section 3.5, Uses of BM25, has a few relevant bits:But I get from this no sense of what k1 means, and little guidance as to why I would want more or less document-length normalization for a particular field.
I don't think elaborate explanations in the documentation are necessary; a few hints would likely go a very long way.