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 4065417225 for ; Wed, 15 Oct 2014 17:50:00 +0000 (UTC) Received: (qmail 19157 invoked by uid 500); 15 Oct 2014 17:50:00 -0000 Delivered-To: apmail-lucenenet-user-archive@lucenenet.apache.org Received: (qmail 19111 invoked by uid 500); 15 Oct 2014 17:50:00 -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 19097 invoked by uid 99); 15 Oct 2014 17:49:59 -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 17:49:59 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thoward37@gmail.com designates 209.85.192.182 as permitted sender) Received: from [209.85.192.182] (HELO mail-pd0-f182.google.com) (209.85.192.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Oct 2014 17:49:34 +0000 Received: by mail-pd0-f182.google.com with SMTP id y10so1657098pdj.13 for ; Wed, 15 Oct 2014 10:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=b/TtFCnuqcua0j48jHiFV/Jk9omZ+fXtfKaJ1IltAgw=; b=roCVOl1TWDnNwgrNf1snfaXmu9J2b9SjL231fkPMk7lnHYTyyZo5ifJsiHjxf+kf0T 9q5VxX8iTBpYs4xZasB2ZGNVntKizMhEjsNMINlQKtrGLRmzRJIY2ZwGXGMZ0rx+92Ab H6HMoZigyLXPFlA2I5vOPJJBi7gYDJFrWAlVkWxyOYia747+jVJ7x2tZZ7Fr52R2Ji6L AIRbdKwM6BnoWxUUekrUmGnGABX8yaUNliusW67MV7vpnOYQi/svfn0qCFSJ5I62JKrO zmRpthTrKDMuQZmV5duLTP/TFLbeCQdaGHoC3dDy6gv8evSp05xCZGGx2HgDY1GwDsn6 Rdgg== X-Received: by 10.69.11.69 with SMTP id eg5mr14464681pbd.2.1413395372716; Wed, 15 Oct 2014 10:49:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.232.70 with HTTP; Wed, 15 Oct 2014 10:49:12 -0700 (PDT) In-Reply-To: References: <67DDAEAAAA9D004DAF762F03F8A809EC60F628AB@AM3PRD9003MB061.MGDPHG.emi.philips.com> From: Troy Howard Date: Wed, 15 Oct 2014 10:49:12 -0700 Message-ID: Subject: Re: SpanMultiTermQueryWrapper equivalent in C# To: user@lucenenet.apache.org Content-Type: multipart/alternative; boundary=047d7b5d94891e385d050579c11b X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d94891e385d050579c11b Content-Type: text/plain; charset=UTF-8 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. > > > --047d7b5d94891e385d050579c11b--