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
+17 -1
View File
@@ -311,7 +311,23 @@ webcachemaxmbs = 40
# meaning-altering missing words.
snippetMaxPosWalk = 1000000
# Disable extended attributes conversion to metadata fields
# 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 used (by some other applications), but not indexed (changing
# ext. attrs. only affects ctime).
# Notes:
# - this may prevent detection of change in some marginal file rename cases
# (the target would need to have the same size and mtime).
# - 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). Perform a full index reset after changing this.
testmodifusemtime = 0
# Disable extended attributes conversion to metadata fields. This probably
# needs to be set if testmodifusemtime is set.
noxattrfields = 0
# You could specify different parameters for a subdirectory like this: