Hi, related 1 you should take a look to all the similarity implementation, maybe there's some good fit there for your use case !
Another interesting reading could be : http://opensourceconnections.com/blog/2014/01/20/build-your-own-custom-lucene-query-and-scorer/ fro Doug. I remember i saw that kind of TF only scorer, but not recalling where. You should take a look, if I find something better I let you no. 2) To disable norms you can omit norms at indexing time and avoid to use them. Or go again with a custom scorer. Cheers On 6 October 2015 at 20:30, Tim Hearn <timseman...@gmail.com> wrote: > Hello everyone, > > I have two questions > > 1) Is there a way to query solr to rank results based purely on the amount > of terms in the query which are contained in the document? > Example: > doc1: 'foo bar poo car foo' > q1: 'foo, car, two, start' > score(doc1, q1) = 2 (since both foo and car both occur in doc1 - never mind > that foo occurs twice) > > This is also the numerator in the coord query > > 2) Is there a way to disable the 'coord' and 'query norm' multiplication of > query results all together? > -- -------------------------- Benedetti Alessandro Visiting card - http://about.me/alessandro_benedetti Blog - http://alexbenedetti.blogspot.co.uk "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England