RE: BooleanQuery

2009-05-01 Thread Ankush Goyal
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

RE: BooleanQuery

2009-05-01 Thread Ankush Goyal
) > 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

BooleanQuery

2009-04-30 Thread Ankush Goyal
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

RE: Multiple Queries

2009-04-29 Thread Ankush Goyal
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

RE: Multiple Queries

2009-04-28 Thread Ankush Goyal
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 >

Multiple Queries

2009-04-28 Thread Ankush Goyal
ere's better way of doing this? --Ankush Goyal