Delete RCL_USE_XATTR configure/compile time variable, it was not

useful. Add configuration variable to use mtime instead of ctime for update
detection. Useful on a system where xattrs would be modified but not
indexed, to avoid excessive reindexing.
This commit is contained in:
Jean-Francois Dockes
2014-12-09 11:15:17 +01:00
parent 969ffee8e7
commit d630cbbaec
11 changed files with 56 additions and 44 deletions
+26
View File
@@ -5394,6 +5394,32 @@ unac_except_trans = åå Åå ää Ää öö Öö
</listitem>
</varlistentry>
<varlistentry><term><varname>testmodifusemtime</varname></term>
<listitem><para>If true, use mtime instead of default ctime to
determine if a file has been modified (in addition to
size, which is always used). Setting this can reduce
re-indexing on systems where extended attributes are
modified (by some other application), but not indexed
(changing extended attributes only affects
ctime). Notes:
<itemizedlist>
<listitem><para>This may prevent detection of change
in some marginal file rename cases (the target would
need to have the same size and
mtime).</para></listitem>
<listitem><para>You should probably also set
noxattrfields to 1 in this case, except if you still
prefer to perform xattr indexing, for example if the
local file update pattern makes it of value (as in
general, there is a risk for pure extended attributes
updates without file modification to go
undetected).</para></listitem>
</itemizedlist>
Perform a full index reset after changing the value of
this parameter.
</para></listitem>
</varlistentry>
<varlistentry><term><varname>noxattrfields</varname></term>
<listitem><para>Recoll versions 1.19 and later
automatically translate file extended attributes into