|
a/src/rcldb/rcldb.h |
|
b/src/rcldb/rcldb.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _DB_H_INCLUDED_
|
17 |
#ifndef _DB_H_INCLUDED_
|
18 |
#define _DB_H_INCLUDED_
|
18 |
#define _DB_H_INCLUDED_
|
19 |
/* @(#$Id: rcldb.h,v 1.41 2006-11-13 08:49:44 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: rcldb.h,v 1.42 2006-11-14 13:55:43 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
|
20 |
|
21 |
#include <string>
|
21 |
#include <string>
|
22 |
#include <list>
|
22 |
#include <list>
|
23 |
#include <vector>
|
23 |
#include <vector>
|
24 |
|
24 |
|
|
... |
|
... |
215 |
/** Perform stem expansion across all dbs configured for searching */
|
215 |
/** Perform stem expansion across all dbs configured for searching */
|
216 |
list<string> stemExpand(const string& lang, const string& term);
|
216 |
list<string> stemExpand(const string& lang, const string& term);
|
217 |
|
217 |
|
218 |
/** Filename wildcard expansion */
|
218 |
/** Filename wildcard expansion */
|
219 |
bool filenameWildExp(const string& exp, list<string>& names);
|
219 |
bool filenameWildExp(const string& exp, list<string>& names);
|
220 |
|
220 |
string getReason(){return m_reason;}
|
221 |
private:
|
221 |
private:
|
222 |
|
222 |
|
223 |
string m_filterTopDir; // Current query filter on subtree top directory
|
223 |
string m_filterTopDir; // Current query filter on subtree top directory
|
224 |
vector<int> m_dbindices; // In case there is a postq filter: sequence of
|
224 |
vector<int> m_dbindices; // In case there is a postq filter: sequence of
|
225 |
// db indices that match
|
225 |
// db indices that match
|
226 |
|
226 |
|
|
|
227 |
string m_reason; // Error explanation
|
227 |
// Things we don't want to have here.
|
228 |
// Things we don't want to have here.
|
228 |
friend class Native;
|
229 |
friend class Native;
|
229 |
Native *m_ndb; // Pointer to private data. We don't want db(ie
|
230 |
Native *m_ndb; // Pointer to private data. We don't want db(ie
|
230 |
// xapian)-specific defs to show in here
|
231 |
// xapian)-specific defs to show in here
|
231 |
|
232 |
|