My application typically searches Solr by strictly ANDing all terms.
However in some cases of too few results being returned I'd like to relax
the query by switching to OR and setting an appropriate mm ("min match")
value. The problem is that I want it to be clear to the user which terms
are missing from each result of these min match queries. See Google for
example
<https://www.google.com/search?q=monkey%20france%20tuba%20lymphocyte>,
which shows "Missing: foo" under certain results.

Highlighting seems like the closest solution but it's too heavyweight for
my use case. There's no need for the extra analysis to show the terms in
the context of a block of text - I simply want a set of matching terms (or
non-matching terms) per document. Are there other Solr features available
that I could leverage to do this?

Paul

Reply via email to