Leading off with a negation does weird things. Try (*:* AND NOT categoryid:387602) OR mfrid:18678
Michael Della Bitta ------------------------------------------------ Appinions 18 East 41st Street, 2nd Floor New York, NY 10017-6271 www.appinions.com Where Influence Isn’t a Game On Wed, Oct 3, 2012 at 4:10 PM, Steve <compconsult...@yahoo.com> wrote: > If I search for > > q=!categoryid:3876021, solr correctly tells me there are two million plus > hits. > > If I search for > > q=mfrid:18678, solr tell me there are 50,314 hits > > I want to combine those two results, so I try > > q=!categoryid:3876021 OR mfrid:18678 > > I would have expected two million plus results, instead, I get 50,314. > > Is there a way to do a union of results from searching two different fields? > > Curiously, if I remove the ! I do get the union of the results. But I want > all categories except that one, plus all mfr id I specified.