nextcloud / fulltextsearch_elasticsearch

🔍 Use Elasticsearch to index the content of your Nextcloud
https://apps.nextcloud.com/apps/fulltextsearch_elasticsearch
GNU Affero General Public License v3.0
81 stars 30 forks source link

Index ODS file #190

Closed hkienlen closed 2 years ago

hkienlen commented 2 years ago

BUG

new .ods documents are not indexed live

field [content] not present as part of path [attachment.content]

Resolution

It seems there is no field attachment.content for .ods document. So ignoring the error from the attachement ingest solves the issue

attachment
Description
attachment
Processors
[
  {
    "attachment": {
      "field": "content",
      "indexed_chars": -1
    },
    "convert": {
      "field": "attachment.content",
      "type": "string",
      "target_field": "content",
      "ignore_failure": true
    },
    "remove": {
      "field": "attachment.content",
      "ignore_failure": true
    }
  }
hkienlen commented 2 years ago

will create a new PR with Signed-off-by: