lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allison, Timothy B." <talli...@mitre.org>
Subject RE: Proximity query
Date Thu, 12 Feb 2015 17:10:25 GMT
Might also look at concordance code on LUCENE-5317 and here:

https://github.com/tballison/lucene-addons/tree/master/lucene-5317

Let me know if you have any questions.

-----Original Message-----
From: Maisnam Ns [mailto:maisnam.ns@gmail.com] 
Sent: Thursday, February 12, 2015 11:57 AM
To: java-user@lucene.apache.org
Subject: Re: Proximity query

Hi Shah,

Thanks for your reply. Will try to google SpanQuery meanwhile if you have
some links can you please share

Thanks

On Thu, Feb 12, 2015 at 10:17 PM, Jigar Shah <jigaronline@gmail.com> wrote:

> This concept is called Proximity Search in general.
>
> In Lucene they are achieved using SpanQuery.
>
> On Thu, Feb 12, 2015 at 10:10 PM, Maisnam Ns <maisnam.ns@gmail.com> wrote:
>
> > Hi,
> >
> > Can someone help me if this use case is possible or not with lucene
> >
> > Use case: I have a string say 'Japan' appearing in 10 documents and I
> want
> > to get back , say some results which contain two words before 'Japan' and
> > two words after 'Japan' may be something like this ' Economy of Japan is
> > growing' etc.
> >
> >  If it is not possible where should I look for such queries
> >
> > Thanks´╗┐
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

Mime
View raw message