a/src/common/rclconfig.h b/src/common/rclconfig.h
...
...
76
  vector<string> cmdv;
76
  vector<string> cmdv;
77
};
77
};
78
78
79
// Data associated to a indexed field name: 
79
// Data associated to a indexed field name: 
80
struct FieldTraits {
80
struct FieldTraits {
81
    string pfx; // indexing prefix, 
81
    string pfx; // indexing prefix,
82
    uint32_t valueslot{0};
83
    enum ValueType {STR, INT};
84
    ValueType valuetype{STR};
85
    int    valuelen{0};
82
    int    wdfinc{1}; // Index time term frequency increment (default 1)
86
    int    wdfinc{1}; // Index time term frequency increment (default 1)
83
    double boost{1.0}; // Query time boost (default 1.0)
87
    double boost{1.0}; // Query time boost (default 1.0)
84
    bool   pfxonly{false}; // Suppress prefix-less indexing
88
    bool   pfxonly{false}; // Suppress prefix-less indexing
85
    bool   noterms{false}; // Don't add term to highlight data (e.g.: rclbes)
89
    bool   noterms{false}; // Don't add term to highlight data (e.g.: rclbes)
86
};
90
};
...
...
436
// there is no way to do this. It never changes after initialization
440
// there is no way to do this. It never changes after initialization
437
// of course. Changing the value on a given index imposes a
441
// of course. Changing the value on a given index imposes a
438
// reset. When using multiple indexes, all must have the same value
442
// reset. When using multiple indexes, all must have the same value
439
extern bool o_index_stripchars;
443
extern bool o_index_stripchars;
440
444
445
// Store document text in index. Allows extracting snippets from text
446
// instead of building them from index position data. Has become
447
// necessary for versions of Xapian 1.6, which have dropped support
448
// for the chert index format, and adopted a setup which renders our
449
// use of positions list unacceptably slow in cases. The text just
450
// translated from its original format to UTF-8 plain text, and is not
451
// stripped of upper-case, diacritics, or punctuation signs. Defaults to true.
452
extern bool o_index_storedoctext;
453
441
// This global variable defines if we use mtime instead of ctime for
454
// This global variable defines if we use mtime instead of ctime for
442
// up-to-date tests. This is mostly incompatible with xattr indexing,
455
// up-to-date tests. This is mostly incompatible with xattr indexing,
443
// in addition to other issues. See recoll.conf comments. 
456
// in addition to other issues. See recoll.conf comments. 
444
extern bool o_uptodate_test_use_mtime;
457
extern bool o_uptodate_test_use_mtime;
445
458