fulltextsearch
fulltextsearch copied to clipboard
attachment.date uses content created date of docx files
NC: 20.0.7 elasticsearch: 6.8 Full text search: 20.0.0 Full text search - Elasticsearch Platform: 20.0.0 Full text search - Files: 20.0.0
All my Word docx files are indexed with content created date from the meta data of the docx file. So the attachment.date always contains the content date created and not the last time I saved/modified this document.
Is it possible to configure it, to using the last modification/save time? Is this an issue of nextcloud or an issue of the ingest-attachment plugin of elasticsearch?
Ok, maybe I found an answer. I think this is an issue of the ingest plugin. The attachment processor Line 137 reads statically the meta created date from the document.
So I think it is not possible to configure this in the fulltextsearch plugin, it is so?
A more interesting extension would be this pull request of the ingest-attachment plugin: https://github.com/elastic/elasticsearch/pull/22339