|
a/src/query/xadump.cpp |
|
b/src/query/xadump.cpp |
|
... |
|
... |
21 |
|
21 |
|
22 |
#include <iostream>
|
22 |
#include <iostream>
|
23 |
#include <string>
|
23 |
#include <string>
|
24 |
#include <vector>
|
24 |
#include <vector>
|
25 |
|
25 |
|
|
|
26 |
#include "pathut.h"
|
|
|
27 |
|
26 |
#ifndef NO_NAMESPACES
|
28 |
#ifndef NO_NAMESPACES
|
27 |
using namespace std;
|
29 |
using namespace std;
|
28 |
#endif /* NO_NAMESPACES */
|
30 |
#endif /* NO_NAMESPACES */
|
29 |
|
31 |
|
30 |
#include "utf8iter.h"
|
32 |
#include "utf8iter.h"
|
|
... |
|
... |
108 |
exit(1);
|
110 |
exit(1);
|
109 |
}
|
111 |
}
|
110 |
|
112 |
|
111 |
int main(int argc, char **argv)
|
113 |
int main(int argc, char **argv)
|
112 |
{
|
114 |
{
|
113 |
string dbdir = "/home/dockes/.recoll/xapiandb";
|
115 |
string dbdir = path_cat(path_home(), ".recoll/xapiandb");
|
114 |
string outencoding = "ISO8859-1";
|
116 |
string outencoding = "ISO8859-1";
|
115 |
int docid = 1;
|
117 |
int docid = 1;
|
116 |
string aterm;
|
118 |
string aterm;
|
117 |
|
119 |
|
118 |
thisprog = argv[0];
|
120 |
thisprog = argv[0];
|