Sets the boolean operator of the QueryParser. In default mode (
OR_OPERATOR) terms without any modifiers are considered optional: for example
capital of Hungaryis equal to
capital OR of OR Hungary.
AND_OPERATORmode terms are considered to be in conjuction: the above mentioned query is parsed as
capital AND of AND Hungary