minor visibility cleanup
This commit is contained in:
parent
b1dff7e009
commit
98dcf8c9ca
@ -56,15 +56,6 @@ class RclConfig;
|
||||
namespace Rcl {
|
||||
#endif
|
||||
|
||||
// Omega compatible values. We leave a hole for future omega values. Not sure
|
||||
// it makes any sense to keep any level of omega compat given that the index
|
||||
// is incompatible anyway.
|
||||
enum value_slot {
|
||||
VALUE_LASTMOD = 0, // 4 byte big endian value - seconds since 1970.
|
||||
VALUE_MD5 = 1, // 16 byte MD5 checksum of original document.
|
||||
VALUE_SIG = 10 // Doc sig as chosen by app (ex: mtime+size
|
||||
};
|
||||
|
||||
class SearchData;
|
||||
class TermIter;
|
||||
class Query;
|
||||
|
||||
@ -6,6 +6,15 @@
|
||||
namespace Rcl {
|
||||
/* @(#$Id: rcldb_p.h,v 1.6 2008-09-30 12:38:29 dockes Exp $ (C) 2007 J.F.Dockes */
|
||||
|
||||
// Omega compatible values. We leave a hole for future omega values. Not sure
|
||||
// it makes any sense to keep any level of omega compat given that the index
|
||||
// is incompatible anyway.
|
||||
enum value_slot {
|
||||
VALUE_LASTMOD = 0, // 4 byte big endian value - seconds since 1970.
|
||||
VALUE_MD5 = 1, // 16 byte MD5 checksum of original document.
|
||||
VALUE_SIG = 10 // Doc sig as chosen by app (ex: mtime+size
|
||||
};
|
||||
|
||||
// Generic Xapian exception catching code. We do this quite often,
|
||||
// and I have no idea how to do this except for a macro
|
||||
#define XCATCHERROR(MSG) \
|
||||
|
||||
@ -54,10 +54,12 @@ class Query {
|
||||
|
||||
/** Choose sort order. Must be called before setQuery */
|
||||
void setSortBy(const string& fld, bool ascending = true);
|
||||
void setCollapseDuplicates(bool on) {m_collapseDuplicates = on;}
|
||||
const string& getSortBy() const {return m_sortField;}
|
||||
bool getSortAscending() const {return m_sortAscending;}
|
||||
|
||||
/** Return or filter results with identical content checksum */
|
||||
void setCollapseDuplicates(bool on) {m_collapseDuplicates = on;}
|
||||
|
||||
/** Accept data describing the search and query the index. This can
|
||||
* be called repeatedly on the same object which gets reinitialized each
|
||||
* time.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user