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 0F107200D5B for ; Wed, 29 Nov 2017 05:40:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0D88C160C15; Wed, 29 Nov 2017 04:40:29 +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 534EB160BE7 for ; Wed, 29 Nov 2017 05:40:28 +0100 (CET) Received: (qmail 69358 invoked by uid 500); 29 Nov 2017 04:40:26 -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 69346 invoked by uid 99); 29 Nov 2017 04:40:25 -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; Wed, 29 Nov 2017 04:40:25 +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 7BDD6C03CB for ; Wed, 29 Nov 2017 04:40:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.348 X-Spam-Level: X-Spam-Status: No, score=0.348 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, KB_WAM_FROM_NAME_SINGLEWORD=0.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 8_c4C4VGgnZk for ; Wed, 29 Nov 2017 04:40:23 +0000 (UTC) Received: from mail-pl0-f43.google.com (mail-pl0-f43.google.com [209.85.160.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2084A5F1B3 for ; Wed, 29 Nov 2017 04:40:23 +0000 (UTC) Received: by mail-pl0-f43.google.com with SMTP id q7so1368474plk.0 for ; Tue, 28 Nov 2017 20:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=eSY6SEV2+9wbxsF9ao8I/WDTH+yX1oK+NSif7zFLQVQ=; b=M6zk4h2nFFjiZu8FeeVQaECHNN5uCvibpY4vfngs+KZ4ztkW8eCxYWbSpcM6jeII7k J/myMAZsxXayMQnObseeq47IVcLYQCEs/ZxtEricmK6qx1fHNgU9cfsZhyB4warS4Jnn ppDdfpoOWcCgFGdSy3J/YjZUyiCZ8ljk2KgjRZ1Q+RKlmJagD+CFiRiPQm//xRc3iQZJ 9LxST1gwRVm3jiJAtO5YeIkJ7L5u4+ZM3BlrJFDA2UFjlfE9YY1SSDiKACF7q7JzZywL jQyjlWa/o1fkKNuQQDCBVkfXSOACsKSuwjHToI8sg/JXT+lOwSUrniTlHrl2bvnb1mS1 Yg2Q== 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=eSY6SEV2+9wbxsF9ao8I/WDTH+yX1oK+NSif7zFLQVQ=; b=MHKm5G3t2pxevID69ryXC0b896+3l3v5poi75zLgsRaZdAdN5IV7s6dVLAKUwGuzkI mh7UVCEj9wkpeyrIjclDSJmIjukSpkRUdaba5lndQoB9UxFKxUjtBYkqWmV7Jp2rJd9L fYAHhQFA8tCJojzVvVIM8qQo++QOtHDB5UNigAVcMCaGjuWIj9EYrApjXIbuDfsHHRzS A4FODRIPYNZupubs1wIz82X1DEF2BE9ps3d3m4l/euuUrPoNaxbnCnI6ePpWnruZl9C4 hOwK3zAGLJTbcbRhIbpgiobsCM5Jm7y8CnKg2T1j4wKUFE74w6uS8+sjkgOCmpXZQP+o ryTw== X-Gm-Message-State: AJaThX4jBp8bcqGgFwTSwavpLKWusZS/6U4NI5WZadu+CpWoR6Ym1Xcv f6jLACcpevJv9Z/PNbGpTNUobYFb X-Google-Smtp-Source: AGs4zMYHsQUtDu2orzR8SyotgtjTnWVt9I4ZsofntMOYqpCFaCSK98+dSqQ9lt1YXm9iHaHmWDk3Hw== X-Received: by 10.84.252.10 with SMTP id x10mr1600850pll.216.1511930421862; Tue, 28 Nov 2017 20:40:21 -0800 (PST) Received: from [10.177.68.121] ([182.74.255.66]) by smtp.gmail.com with ESMTPSA id q9sm975414pfl.116.2017.11.28.20.40.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Nov 2017 20:40:21 -0800 (PST) From: Aman Deep singh Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: Re: Solr mm is field Level in case sow is false Date: Wed, 29 Nov 2017 10:10:18 +0530 References: <88A8E154-43C7-4478-B2FB-FF46DBD4358A@gmail.com> <05822906-875C-4A8A-B3B3-FB7D60A74B0D@gmail.com> To: solr-user@lucene.apache.org In-Reply-To: <05822906-875C-4A8A-B3B3-FB7D60A74B0D@gmail.com> Message-Id: X-Mailer: Apple Mail (2.3445.4.7) archived-at: Wed, 29 Nov 2017 04:40:29 -0000 HI Steve, I can=E2=80=99t use the copy field because i have multiple types of = field ,which uses different type of data ,examples are 1. Normal Tokenized field (normal fields) 2. Word deliminated field=20 3. synonyms field (synonyms can be applied on one or two fields not all = according to our requirement) 4. Ngrams field (model related field, partial word matches) > On 29-Nov-2017, at 8:30 AM, Steve Rowe wrote: >=20 > Hi Aman, see my responses inline below. >=20 >> On Nov 28, 2017, at 9:11 PM, Aman Deep Singh = wrote: >>=20 >> Thanks steve, >> I got it but my problem is u can't make the every field with same = analysis, >=20 > I don=E2=80=99t understand: why can=E2=80=99t you use copy fields with = all the same analysis? >=20 >> Is there any chance that sow and mm will work properly ,I don't see = this in >> future pipe line also,as their is no jira related to this. >=20 > I wrote up a description of an idea I had about addressing it in a = reply to Doug Turnbull's thread on this subject, linked from my blog: = from = : >=20 >> In implementing the SOLR-9185 changtes, I considered a compromise = approach to the term-centric >> / field-centric axis you describe in the case of differing field = analysis pipelines: finding >> common source-text-offset bounded slices in all per-field queries, = and then producing dismax >> queries over these slices; this is a generalization of what happens = in the sow=3Dtrue case, >> where slice points are pre-determined by whitespace. However, it = looked really complicated >> to maintain source text offsets with queries (if you=E2=80=99re = interested, you can see an example >> of the kind of thing I=E2=80=99m talking about in my initial patch on = , which I ultimately = decided against committing), so I decided to go with per-field dismax = when >> structural differences are encountered in the per-field queries. = While I won=E2=80=99t be doing >> any work on this short term, I still think the above-described = approach could improve the >> situation in the sow=3Dfalse/differing-field-analysis case. Patches = welcome! >=20 > -- > Steve > www.lucidworks.com >=20 Thanks, Aman Deep Singh=