http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Ankush Goyal
> To: "solr-user@lucene.apache.org"
> Sent: Thursday, April 30, 2009 6:56:44 PM
> Subject: BooleanQuery
>
> Hey Guys,
>
> I have 2 indexes with one having hotel content and o
)
>
Your hot.id's are not OR'd. They are AND'ed. (+hot.id:5823 +hot.id:5847)
should have been (hot.id:5823 hot.id:5847).
Cheers
Avlesh
On Fri, May 1, 2009 at 4:26 AM, Ankush Goyal wrote:
> Hey Guys,
>
> I have 2 indexes with one having hotel content and other containi
Hey Guys,
I have 2 indexes with one having hotel content and other containing reviews for
hotels. When a user queries for a location the logic first calls the hotel
index to get hotels for the location, then it needs to call review index to ask
for all the reviews for all the hotels. So, I need
ry with multiple hotelIds ORed with each other
like-->
[hotel.id_t:342432/hotel.id_t:3453/(+(rev.headline:lakefront^2.0 |
rev.comments:lakefront^2.0)~0.01 ())^0.0]
So, how do I pass these multiple termQueries ORed with each other to make
BoostQuery?
Thanks!
-Ankush Goyal
-Original Messa
eviews as values.
>
> Can anyone comment on whether this procedure would be better or worse, or
> if there's better way of doing this?
>
> --Ankush Goyal
>
ere's better way of doing this?
--Ankush Goyal