https://docs.jboss.org/hibernate/search/5.11/reference/en-US/html_single/#section-custom-similarity
Let's check with Sanne first.