On Wed, Mar 11, 2009 at 9:56 PM, Andrew Wall <rew...@gmail.com> wrote: > I'm attempting to write a solr query that ensures that if one field has a > particular value that another field also have a particular value. I've > arrived at this syntax, but it doesn't seem to work correctly. > > ((myField:superneat AND myOtherField:somethingElse) OR NOT myField:superneat)
Try (myField:superneat AND myOtherField:somethingElse) OR (*:* -myField:superneat) -Yonik http://www.lucidimagination.com