Switch to unified view
a/src/rcldb/rcldb.h | b/src/rcldb/rcldb.h | ||
---|---|---|---|
... |
... |
||
119 | // If a field was specified, this is the corresponding index prefix |
119 | // If a field was specified, this is the corresponding index prefix |
120 | string prefix; |
120 | string prefix; |
121 | // Index-wide stats |
121 | // Index-wide stats |
122 | unsigned int dbdoccount; |
122 | unsigned int dbdoccount; |
123 | double dbavgdoclen; |
123 | double dbavgdoclen; |
124 | size_t mindoclen; |
||
125 | size_t maxdoclen; |
||
124 | }; |
126 | }; |
125 | 127 | ||
126 | inline bool has_prefix(const string& trm) |
128 | inline bool has_prefix(const string& trm) |
127 | { |
129 | { |
128 | #ifndef RCL_INDEX_STRIPCHARS |
130 | #ifndef RCL_INDEX_STRIPCHARS |