enqueue-dev
enqueue-dev copied to clipboard
Problem mapping with option --pager-persister=queue
I'm using symfony 4.4 and I installed this:
"enqueue/amqp-bunny": "^0.10",
"enqueue/elastica-bundle": "^0.10",
"enqueue/fs": "^0.10",
"friendsofsymfony/elastica-bundle": "^5",
My problem, when I run the consumer it creates the indexes but it doesn't take the right mapping
when I run my command without the option --pager-persister=queue, I have this mapping : "aliases": { }, "mappings": { "dead": { "_meta": { "model": "App\Entity\Dead" }, "dynamic_date_formats": [ ], "properties": { .................... "publicationDate": { "fields": { "keyword": { "normalizer": "lower_case", "type": "keyword" } }, "type": "date" }
when I run my command with the --pager-persister=queue option, I have this mapping: "aliases": { }, "mappings": { "dead": { "properties": { ..................... "publicationDate": { "type": "date" }, thank you for your help