From dev-return-10446-apmail-lucenenet-dev-archive=lucenenet.apache.org@lucenenet.apache.org Sun Jul 30 05:36:53 2017 Return-Path: X-Original-To: apmail-lucenenet-dev-archive@www.apache.org Delivered-To: apmail-lucenenet-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C572C1990F for ; Sun, 30 Jul 2017 05:36:53 +0000 (UTC) Received: (qmail 36761 invoked by uid 500); 30 Jul 2017 05:36:48 -0000 Delivered-To: apmail-lucenenet-dev-archive@lucenenet.apache.org Received: (qmail 36718 invoked by uid 500); 30 Jul 2017 05:36:48 -0000 Mailing-List: contact dev-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucenenet.apache.org Delivered-To: mailing list dev@lucenenet.apache.org Received: (qmail 36705 invoked by uid 99); 30 Jul 2017 05:36:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2017 05:36:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C8CC4C023D for ; Sun, 30 Jul 2017 05:36:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.98 X-Spam-Level: * X-Spam-Status: No, score=1.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=ayende-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4SZzo0vYkH_l for ; Sun, 30 Jul 2017 05:36:46 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2D2F35FB96 for ; Sun, 30 Jul 2017 05:36:46 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id t201so24477645wmt.0 for ; Sat, 29 Jul 2017 22:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ayende-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=JxDdrjPD6H48Plc9ALQG2iHSzEyMNTxHnyR2mOfPDhA=; b=YVyuGTkxQ25lSe+V/IUTT46n/VC/MWdBaAtA8RUVsijhD8uWSfnRSrd+cXKTr2Zu4I JmdlnelG3WwWP2jKwypzyBNXNDcDKEba2zI+ECzXQ2vS7YFZ/ly8jSXrpujI3YaV5/WI gCGB+MpjIAzcJpoTBmTz0DA+f5XG3D+SKB2cian7A5rHR/1m3UZCAbUZCNKzjQ0gY+la NmXJWAS0lEMtjBY5lb1f3sjlXQMnSW2DWGbopY/Q/Kq/K8JSIUoO9pGkl+XFC/C+NGZ3 +ZsdkhMQozrV8PXXY9DAwqsLmZ2PvK5vrEujSnjZ8Le6MlZHvD1ufZZaqVUaw6ons1AI 9XpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=JxDdrjPD6H48Plc9ALQG2iHSzEyMNTxHnyR2mOfPDhA=; b=OrPD6ScmJnTT14MXEWzXvReZomQAxlzU9NqsyPepcIDrXXHwwRhw0y6byucV58HIFH xL58b2/9b9hLTQVZL4IUHVy+PtxIJ1grqzqdsbZjMddoMeBfCgHIdrZT/mSI8eAjY9Ao cigTka/GG78Hql1ySN/8OvAHlyFVcHF+TRPbgiwyYBmIIf7srOVmZOtSQTJG//lW+9j5 j0yD4J3tSVs9CbSn19hIYEHUm2rDpSr/fjRPLKLJNSJ5jG5SNKNA9dXbKn6EdxM8yT/F czEFFzTfn5TvYt7JJsTmtUtfQmzZeM5JL+0uAvy0G9zAol3UTIeXgICPY8a0SLVTfmZQ I0Mg== X-Gm-Message-State: AIVw112fvJ/AmebHOhOc6VWBiiOpp2SR4mJ8taAJPTkXQ7iq8xXg1ZJz vX6UyPn4LPK2g0rFPFW7+gP5g4YSCJi8udM= X-Received: by 10.28.37.193 with SMTP id l184mr9552413wml.24.1501392998862; Sat, 29 Jul 2017 22:36:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.131.97 with HTTP; Sat, 29 Jul 2017 22:36:18 -0700 (PDT) In-Reply-To: References: From: "Oren Eini (Ayende Rahien)" Date: Sun, 30 Jul 2017 08:36:18 +0300 Message-ID: Subject: Re: Lucene search To: "dev@lucenenet.apache.org" Content-Type: multipart/alternative; boundary="001a114e31f25da7300555824c5e" --001a114e31f25da7300555824c5e Content-Type: text/plain; charset="UTF-8" The easiest way is to compute that during indexing and storing whatever they were equal, then querying on that. *Hibernating Rhinos Ltd * Oren Eini* l CEO l *Mobile: + 972-52-548-6969 Office: +972-4-622-7811 *l *Fax: +972-153-4-622-7811 On Fri, Jul 28, 2017 at 7:42 PM, Srini V wrote: > Hi All, > > I am trying to solve a business requirement that the search should happen > on comparing 2 indexed field values. > > Like FieldA value == FIeldB value or FieldAValue.Contains(FieldB value) > > Is it possible to achieve this > > Thanks > Sri > --001a114e31f25da7300555824c5e--