lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OTH <>
Subject Score higher if multiple terms match
Date Wed, 07 Jun 2017 20:35:16 GMT

I have what I would think to be a fairly simple problem to solve, however
I'm not sure how it's done in Solr and couldn't find an answer on Google.

Say I have two documents, "TV" and "TV promotion".  If the search query is
"TV promotion", then, obviously, I would like the document "TV promotion"
to score higher.  However, that is not the case right now.

My syntax is something like this:
(I tried "q=name:tv+promotion (added the '+'), but it made no difference.)

It's not scoring the document "TV promotion" higher than "TV"; in fact it's
scoring it lower.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message