Changeset 4217
- Timestamp:
- 2003-05-01T14:32:25+12:00 (21 years ago)
- Location:
- trunk/gsdl/src/colservr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/mgppsearch.cpp
r3197 r4217 135 135 QueryNode *queryTree = NULL; 136 136 queryTree = ParseQuery(queryArray, defaultBoolCombine, defaultStemMethod); 137 137 if (queryTree == NULL) { // syntax error 138 queryresult.syntax_error = true; 139 return true; // should we return true or false? 140 } 138 141 UCArray level; 139 142 UCArrayClear(level); -
trunk/gsdl/src/colservr/queryinfo.cpp
r4193 r4217 319 319 docs_matched = 0; 320 320 is_approx = Exact; 321 321 syntax_error = false; 322 322 postprocessed = false; 323 323 … … 330 330 docs_matched = q.docs_matched; 331 331 is_approx = q.is_approx; 332 332 syntax_error = q.syntax_error; 333 333 postprocessed = q.postprocessed; 334 334 335 335 docs = q.docs; 336 336 terms = q.terms; -
trunk/gsdl/src/colservr/queryinfo.h
r4193 r4217 168 168 isapprox is_approx; 169 169 // bool is_approx; // not available on all versions of mg 170 170 bool syntax_error; // whether the query string was invalid 171 171 bool postprocessed; // whether this record has been post-processed 172 172
Note:
See TracChangeset
for help on using the changeset viewer.