1 | --- omega-orig f.cc 2011-03-23 02:30:19.000000000 +0530
|
---|
2 | +++ omega.cc 2011-04-13 01:15:13.971269000 +0530
|
---|
3 | @@ -176,8 +176,8 @@ try {
|
---|
4 | val = cgi_params.find("DEFAULTOP");
|
---|
5 | if (val != cgi_params.end()) {
|
---|
6 | const string & v = val->second;
|
---|
7 | - if (v == "AND" || v == "and")
|
---|
8 | - default_op = Xapian::Query::OP_AND;
|
---|
9 | + if (v == "OR" || v == "or")
|
---|
10 | + 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.
|
---|
11 | }
|
---|
12 |
|
---|
13 | val = cgi_params.find("FMT");
|
---|