Return-Path: X-Original-To: apmail-lucenenet-user-archive@www.apache.org Delivered-To: apmail-lucenenet-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 451EC175AA for ; Wed, 15 Oct 2014 18:52:31 +0000 (UTC) Received: (qmail 79539 invoked by uid 500); 15 Oct 2014 18:52:31 -0000 Delivered-To: apmail-lucenenet-user-archive@lucenenet.apache.org Received: (qmail 79495 invoked by uid 500); 15 Oct 2014 18:52:30 -0000 Mailing-List: contact user-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucenenet.apache.org Delivered-To: mailing list user@lucenenet.apache.org Received: (qmail 79483 invoked by uid 99); 15 Oct 2014 18:52:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 18:52:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.a.oshea@gmail.com designates 209.85.213.42 as permitted sender) Received: from [209.85.213.42] (HELO mail-yh0-f42.google.com) (209.85.213.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 18:52:05 +0000 Received: by mail-yh0-f42.google.com with SMTP id t59so892334yho.1 for ; Wed, 15 Oct 2014 11:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=l8CpKoY2H+b0y5gdIZbt3zjrXNQOUEsjFCQjIoS0BB4=; b=jCdxQna4K/fOFnOO523OXalW/PLYoD/tDFCuZfSYzqlEFodOc3m7P0jat+dT51I6f0 u/HAGmKHDxrAQ2lJfMaViXgNic+ooEt0C5l+CPtOCjzpJppH0EW2gaBkWtYwy8vcJL93 9hlgu99/a1usmpGJ8jr6h8Kgs1YKQ6H7KSC+KTns92GxB9jBaKhtJiMrTC3gY8t6dmGQ CyI0446N9QihmnJr04+6l3gkOKeeikNuhGgz8w/D/ZxLVMDeGX0rGcI40EgZStTuzcC0 +/+78UpxUgrfEVee+xuDomrcpxZO/CTVl/dgeqGfyd0Vm1cCh2wkd5IMZjWmlwu5tCuf ayQg== MIME-Version: 1.0 X-Received: by 10.236.231.225 with SMTP id l91mr5815584yhq.166.1413399123682; Wed, 15 Oct 2014 11:52:03 -0700 (PDT) Received: by 10.170.222.84 with HTTP; Wed, 15 Oct 2014 11:52:03 -0700 (PDT) In-Reply-To: References: <67DDAEAAAA9D004DAF762F03F8A809EC60F628AB@AM3PRD9003MB061.MGDPHG.emi.philips.com> Date: Wed, 15 Oct 2014 20:52:03 +0200 Message-ID: Subject: Re: SpanMultiTermQueryWrapper equivalent in C# From: "Michael O'Shea" To: user@lucenenet.apache.org Content-Type: multipart/alternative; boundary=089e0160a250b16bfc05057aa037 X-Virus-Checked: Checked by ClamAV on apache.org --089e0160a250b16bfc05057aa037 Content-Type: text/plain; charset=UTF-8 Guys, Prescott was asking if I could contribute. I just looked at that class and it definitely does look straightforward (famous last words). How about I do it ? Michael On Wed, Oct 15, 2014 at 7:49 PM, Troy Howard wrote: > Optionally, you could have a try at porting the class over to C#. A quick > scan over the code and it seems fairly straightforward: > > > https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/lucene/src/java/org/apache/lucene/search/spans/SpanMultiTermQueryWrapper.java > > Thanks, > Troy > > > On Wed, Oct 15, 2014 at 3:14 AM, Itamar Syn-Hershko > wrote: > > > Hi, > > > > I'm pretty sure that class was only introduced in 3.1 . Hopefully we will > > have a 4.8 version out soon and you can use it there. > > > > Cheers, > > > > -- > > > > Itamar Syn-Hershko > > http://code972.com | @synhershko > > Freelance Developer & Consultant > > Author of RavenDB in Action > > > > On Wed, Oct 15, 2014 at 12:26 PM, Popa, Sebastian < > > Sebastian.Popa@philips.com> wrote: > > > > > Hello, > > > > > > I am porting a part of an older Java application using Lucene to a .NET > > > application. > > > > > > However, during porting it I got a bit stuck finding an equivalent for > > the > > > following Java construction: > > > > > > SpanQuery sq= new SpanMultiTermQueryWrapper(new FuzzyQuery(new > > > Term("blahblah", aString, 2)); > > > > > > Could you please help me translate that to C# (I am using the package > > > available on NuGet, Lucene.Net 3.0.3). > > > > > > Looking forward for your answer. > > > > > > Best regards, > > > Sebastian > > > > > > > > > Sebastian Popa > > > > > > Senior Software Designer Healthcare, Scrum Master > > > Philips Innovation Services - Software Products and Systems > > > High Tech Campus 37 room 6.015 > > > 5656 AE Eindhoven, The Netherlands > > > E-mail: sebastian.popa@philips.com > > > Mobile: 0652878524 > > > http://www.innovationservices.philips.com< > > > http://www.innovationservices.philips.com/> > > > P Save a tree...please don't print this e-mail unless you really need > > to > > > > > > > > > ________________________________ > > > The information contained in this message may be confidential and > legally > > > protected under applicable law. The message is intended solely for the > > > addressee(s). If you are not the intended recipient, you are hereby > > > notified that any use, forwarding, dissemination, or reproduction of > this > > > message is strictly prohibited and may be unlawful. If you are not the > > > intended recipient, please contact the sender by return e-mail and > > destroy > > > all copies of the original message. > > > > > > --089e0160a250b16bfc05057aa037--