Hi, You should use parantheses, have you tried that? q=(skcode:2021051 and flength:368.0) or (skcode:2021049 and ent_no:1040970907)
http://robotlibrarian.billdueber.com/solr-and-boolean-operators/ Bye, Andras 2012/5/15 Peter Kirk <p...@alpha-solutions.dk> > Hi > > Can someone please give me some help with a simple query. > > If I search > q=skcode:2021051 and flength:368.0 > > I get 1 document returned (doc A) > > If I search > q=skcode:2021049 and ent_no:1040970907 > > I get 1 document returned (doc B) > > > But if I search > q=skcode:2021051 and flength:368.0 or skcode:2021049 and ent_no:1040970907 > > I get no documents returned. > > Shouldn't I get both docA and docB? > > Thanks, > Peter > >