Add custom score function.
MB-58901 Introduce support for BM25 scoring of search results
MB-33882 Allow search result scoring based on term position