Another option is to override the default operator in the query. {!lucene q.op=OR}city:Chicago^10 +Romantic +View
Colin. > -----Original Message----- > From: Mike Sokolov [mailto:soko...@ifactory.com] > Sent: Wednesday, November 03, 2010 9:42 AM > To: solr-user@lucene.apache.org > Cc: kenf_nc > Subject: Re: Query question > > Another alternative (prettier to my eye), would be: > > (city:Chicago AND Romantic AND View)^10 OR (Romantic AND View) > > > -Mike > > > > On 11/03/2010 09:28 AM, kenf_nc wrote: > > Unfortunately the default operator is set to AND and I can't change > that at > > this time. > > > > If I do (city:Chicago^10 OR Romantic OR View) it returns way too > many > > unwanted results. > > If I do (city:Chicago^10 OR (Romantic AND View)) it returns less > unwanted > > results, but still a lot. > > iorixxx's solution of (Romantic AND View AND (city:Chicago^10 OR (*:* > > -city:Chicago))) does seem to work. Chicago results are at the top, > and the > > remaining results seem to fit the other search parameters. It's an > ugly > > query, but does seem to do the trick for now until I master Dismax. > > > > Thanks all! > > > >