lucenenet-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Troy Howard <thowar...@gmail.com>
Subject Re: SpanMultiTermQueryWrapper equivalent in C#
Date Wed, 15 Oct 2014 17:49:12 GMT
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 <itamar@code972.com>
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 <https://twitter.com/synhershko>
> Freelance Developer & Consultant
> Author of RavenDB in Action <http://manning.com/synhershko/>
>
> 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<mailto: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.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message