ドキュメントに保存されているすべてのファイルにインデックスを付けるための Elasticsearch 用の添付プラグインがあります。ファイルの内容が _source に保存されないようにしたいと考えています。
私の設定ファイルは次のようになります:
document:
mappings:
id: { index: not_analyzed }
path: {}
name: { boost: 5}
file:
type: attachment
store: "yes"
fields:
title: { store : "yes" }
file : {term_vector: "with_positions_offsets", store: yes}
analyzer: standard
boost: 2
persistence:
driver: orm
model: ACF\CaseBundle\Entity\Document
listener:
finder:
provider:
batch_size: 100
_source:
excludes:
file: ~
foq:elastica:populate を実行すると、まだ「ファイル」属性が _source に格納されていることがわかります。何が欠けているのかわかりません。助けてください