Re: Query to count matching terms and disable 'coord' multiplication

2015-10-07 Thread Alessandro Benedetti
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

Query to count matching terms and disable 'coord' multiplication

2015-10-06 Thread Tim Hearn
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