Switch to unified view

a/src/rcldb/rcldb.h b/src/rcldb/rcldb.h
...
...
19
19
20
#include <string>
20
#include <string>
21
#include <list>
21
#include <list>
22
#include <vector>
22
#include <vector>
23
23
24
#include "cstr.h"
24
#include "refcntr.h"
25
#include "refcntr.h"
25
#include "rcldoc.h"
26
#include "rcldoc.h"
26
#include "stoplist.h"
27
#include "stoplist.h"
27
#include "rclconfig.h"
28
#include "rclconfig.h"
28
29
...
...
184
     * Expansion is performed either with either wildcard or regexp processing
185
     * Expansion is performed either with either wildcard or regexp processing
185
     * Stem expansion is performed if lang is not empty */
186
     * Stem expansion is performed if lang is not empty */
186
    enum MatchType {ET_WILD, ET_REGEXP, ET_STEM};
187
    enum MatchType {ET_WILD, ET_REGEXP, ET_STEM};
187
    bool termMatch(MatchType typ, const string &lang, const string &s, 
188
    bool termMatch(MatchType typ, const string &lang, const string &s, 
188
           TermMatchResult& result, int max = -1, 
189
           TermMatchResult& result, int max = -1, 
189
           const string& field = "",
190
           const string& field = cstr_null,
190
                   string *prefix = 0
191
                   string *prefix = 0
191
        );
192
        );
192
    /** Return min and max years for doc mod times in db */
193
    /** Return min and max years for doc mod times in db */
193
    bool maxYearSpan(int *minyear, int *maxyear);
194
    bool maxYearSpan(int *minyear, int *maxyear);
194
195