Changeset 4213 for trunk/indexers
- Timestamp:
- 2003-05-01T12:03:42+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/indexers/mgpp/java/org/greenstone/mgpp/MGPPQueryResult.java
r3365 r4213 17 17 /** the total number of docs found - not likely to be the size of docs_*/ 18 18 protected long total_num_docs_=0; 19 /** whether a syntax error has occurred */ 20 protected boolean syntax_error_ = false; 19 21 20 22 MGPPQueryResult() { … … 27 29 docs_.clear(); 28 30 terms_.clear(); 31 syntax_error_ = false; 29 32 } 30 33 /** returns the result as a String - useful for printing out results */ 31 34 public String toString() { 35 32 36 String result = ""; 33 37 result += "docs (ranks): "; … … 93 97 return total_num_docs_; 94 98 } 95 99 100 public void setSyntaxError(boolean error) { 101 syntax_error_ = error; 102 } 103 104 public boolean hasSyntaxError() { 105 return syntax_error_; 106 } 96 107 } 97 108
Note:
See TracChangeset
for help on using the changeset viewer.