lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emir Arnautović <emir.arnauto...@sematext.com>
Subject Re: minimum should match for only for few fields
Date Mon, 13 Nov 2017 19:00:24 GMT
Hi Vincenzo,
It is not perfect, but you could achieve something similar using _query_ hook, e.g.:

&defType=lucene&q=_query_:”{defType=edismax qf=‘f1 f2’ mm=‘2’}my query”
OR _query_:”{defType=edismax qf=‘f3 f4’ mm=‘1’}my query”

HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 13 Nov 2017, at 11:22, Vincenzo D'Amore <v.damore@gmail.com> wrote:
> 
> Hi All,
> 
> Not sure if what I'm asking is possible, but I'm looking for a way to
> define minimum should match ("mm") only for few fields in a query.
> 
> And if possibile, is there any chance to configure this behaviour in a
> request handler in solrconfig.xml?
> 
> Best regards,
> Vincenzo


Mime
View raw message