Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5E8F0200D3D for ; Mon, 13 Nov 2017 20:00:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5CE32160BF3; Mon, 13 Nov 2017 19:00:34 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A2D96160BF0 for ; Mon, 13 Nov 2017 20:00:33 +0100 (CET) Received: (qmail 21909 invoked by uid 500); 13 Nov 2017 19:00:31 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 21897 invoked by uid 99); 13 Nov 2017 19:00:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Nov 2017 19:00:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9052CC3DA1 for ; Mon, 13 Nov 2017 19:00:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.8 X-Spam-Level: X-Spam-Status: No, score=-2.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=sematext-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ej1hJMkJbNkV for ; Mon, 13 Nov 2017 19:00:28 +0000 (UTC) Received: from mail-wr0-f180.google.com (mail-wr0-f180.google.com [209.85.128.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AE45D5FD14 for ; Mon, 13 Nov 2017 19:00:27 +0000 (UTC) Received: by mail-wr0-f180.google.com with SMTP id o88so15323635wrb.6 for ; Mon, 13 Nov 2017 11:00:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sematext-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=c+Jxq2T6w1qUW7YLzK5YVRxSSGbNwhyeqdX9qQGMRYo=; b=YvdzxH2f2+uQFDwv3JsQHNYac8zThdUURZurCUqPkkbganLqWdS0FiOiGRfPOq0bSq 4j9mko1PZUl+GIRC+wcdnWERBTk9ObHOmXLi4AICQhjxNTN7aoochfkBFD15IednctcW ZaK3tM4eiTquTg7IF/Q4GokaQEBrsK7kFVfLTHiHAm80pEpM2ujLkHrYoJ8m7/52jj22 l2asVCeE5T+tu5NeP7N5/ruZvxNCYNLsbE83pBLA+yW1dIkEYsY7HRo6QU96R5gS3ug/ bSD7+9dzT1bXVmJYYtOcklrbUeh+KLxsW+zgRkAsbNshq+m6vfph29BvEsF6xGP0u4we oKFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=c+Jxq2T6w1qUW7YLzK5YVRxSSGbNwhyeqdX9qQGMRYo=; b=XkIAipuaW/u0kUexENniHJNUWFCryAjVYOSTv9k005Ho5uZSOEab/54jSZhn3Xecxb eMmJfQ3ElyrtKNZNRVe3b3TkF5ZO45KJ838BCeLMiSOB1+HUnavaTWCDKo1diXIyrd2c 6ZX3hHex2D7FSpBCwjMgZgJe5vA7LuIEDgjWCl3F3U5lzxOKMtMQHhKwHOMJ68aBAZGm +ZdYEV/4TSy+Bwlkjq9/AG60fo4pRYrefzVnoNsCAK8kmEs1Um9+cerfVW/HQ6bXmPIS FFQvzu/Xb7kFCO/gg/egJifaORMQe9Yy2NARdBnOpXE0TVZ+cZ0OQR2hZALL5iJmPUrs mOgQ== X-Gm-Message-State: AJaThX5X45/60AdrA+HZ/oqgitOcX+3vArXYbQvxi0E+pVyR+/MqCAOA LQvdJ7JIv5gcmmhrtaTlunwTtlP03eo= X-Google-Smtp-Source: AGs4zMapsWxcoGmFN6kJ5odLr5I0+uq0DMQqXSZHpDi3f2SuC6JDP+tMIWrckzk7QF2gKDCNXvh2eA== X-Received: by 10.223.138.212 with SMTP id z20mr8463110wrz.154.1510599626448; Mon, 13 Nov 2017 11:00:26 -0800 (PST) Received: from [192.168.0.102] (cable-77-77-234-249.dynamic.telemach.ba. [77.77.234.249]) by smtp.gmail.com with ESMTPSA id k13sm15786902wrd.95.2017.11.13.11.00.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 11:00:25 -0800 (PST) From: =?utf-8?Q?Emir_Arnautovi=C4=87?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: minimum should match for only for few fields Date: Mon, 13 Nov 2017 20:00:24 +0100 References: To: solr-user@lucene.apache.org In-Reply-To: Message-Id: <58D368F4-CDE0-43AC-B43C-5C6921A66F70@sematext.com> X-Mailer: Apple Mail (2.3273) archived-at: Mon, 13 Nov 2017 19:00:34 -0000 Hi Vincenzo, It is not perfect, but you could achieve something similar using _query_ = hook, e.g.: &defType=3Dlucene&q=3D_query_:=E2=80=9D{defType=3Dedismax qf=3D=E2=80=98f1= f2=E2=80=99 mm=3D=E2=80=982=E2=80=99}my query=E2=80=9D OR = _query_:=E2=80=9D{defType=3Dedismax qf=3D=E2=80=98f3 f4=E2=80=99 = mm=3D=E2=80=981=E2=80=99}my query=E2=80=9D 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 wrote: >=20 > Hi All, >=20 > 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. >=20 > And if possibile, is there any chance to configure this behaviour in a > request handler in solrconfig.xml? >=20 > Best regards, > Vincenzo