|
a/src/query/xadump.cpp |
|
b/src/query/xadump.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: xadump.cpp,v 1.5 2005-11-24 07:16:16 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: xadump.cpp,v 1.6 2005-11-24 18:21:55 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
#include <strings.h>
|
5 |
#include <strings.h>
|
6 |
|
6 |
|
7 |
#include <iostream>
|
7 |
#include <iostream>
|
|
... |
|
... |
153 |
|
153 |
|
154 |
} else if (op_flags & OPT_F) {
|
154 |
} else if (op_flags & OPT_F) {
|
155 |
cout << "FreqFor " << aterm << " : " <<
|
155 |
cout << "FreqFor " << aterm << " : " <<
|
156 |
db->get_termfreq(aterm) << endl;
|
156 |
db->get_termfreq(aterm) << endl;
|
157 |
} else if (op_flags & OPT_E) {
|
157 |
} else if (op_flags & OPT_E) {
|
158 |
cout << "Exists " << aterm << " : " <<
|
158 |
cout << "Exists [" << aterm << "] : " <<
|
159 |
db->term_exists(aterm) << endl;
|
159 |
db->term_exists(aterm) << endl;
|
160 |
}
|
160 |
}
|
161 |
|
161 |
|
162 |
|
162 |
|
163 |
|
163 |
|