--- omega-orig f.cc 2011-03-23 02:30:19.000000000 +0530 +++ omega.cc 2011-04-13 01:15:13.971269000 +0530 @@ -176,8 +176,8 @@ try { val = cgi_params.find("DEFAULTOP"); if (val != cgi_params.end()) { const string & v = val->second; - if (v == "AND" || v == "and") - default_op = Xapian::Query::OP_AND; + if (v == "OR" || v == "or") + default_op = Xapian::Query::OP_OR; //Since the defult operator is made to AND we are providing a user option of OR in case its required. } val = cgi_params.find("FMT");