Switch to side-by-side view
--- a/src/rcldb/rcldb.h +++ b/src/rcldb/rcldb.h @@ -236,6 +236,10 @@ * 'purge()') */ bool needUpdate(const string &udi, const string& sig, bool *existed=0); + + /** Indicate if we are doing a systematic reindex. This complements + needUpdate() return */ + bool inFullReset() {return o_inPlaceReset || m_mode == DbTrunc;} /** Add or update document identified by unique identifier. * @param config Config object to use. Can be the same as the member config