Extended attributes in the fields file

Recoll processes user extended file attributes as documents fields by default.

Attributes are processed as fields of the same name, after removing the user prefix on Linux.

The [xattrtofields] section of the fields file allows specifying translations from extended attributes names to Recoll field names.

Name translations are set as xattrname = fieldname. They are case-sensitive. E.g. the following would map a quite an extended attribute named "tags" into the "keywords" field: tags = keywords.

Entering an empty translation will disable any use of the attribute.

The values from the extended attributes will not replace the data found from equivalent fields inside the document, instead they are concatenated.

Special case: an extended attribute named modificationdate will set the dmtime field (document date) only if it is not set by an internal document field (e.g. email Date:).