When searching by more than one field Orbeon by default perform and AND search. This is configurable by Form Definition and two search types are available AND and OR. With AND all conditions must be met to produce a match. With OR any condition met produce a match.
"Set an AND search type for form named <> in application <>"OrbeonApiConfiguration defaultsetAndTypeSearchFor: 'newCustomer' in: 'customers'."Set an OR search type for form named <newCustomer> in application <customers>"OrbeonApiConfiguration defaultsetOrTypeSearchFor: 'newCustomer' in: 'customers'.