lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: Boolean Search Query is not workng
Date Fri, 23 Jan 2015 09:49:42 GMT
How about "home~10 house~10 flat". See


On Fri, Jan 23, 2015 at 7:17 AM, Priyanka Tufchi
<> wrote:
> Hi ALL
> I am  working on a project which uses lucene for searching . I am
> struggling with boolean based Query : Actual Scenario is
> e.g
>  In Query, if I give house home flat
>  then
>  inside It should search house or home or flat  but I want to give them
> with weightage  like house and home  should get high weigh and flat should
> get less then rest.
> If document contain "Home"  .Lucene search should not go for house  and
> flat.
> I searched on Internet for some good stuff but not able to find any code
> sample or proper syntax for reference .
> Thanks
> Priyanka
> --
> Launchship Technology  respects your privacy. This email is intended only
> for the use of the party to which it is addressed and may contain
> information that is privileged, confidential, or protected by law. If you
> have received this message in error, or do not want to receive any further
> emails from us, please notify us immediately by replying to the message and
> deleting it from your computer.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message