Skip to content

Problem mapping with option --pager-persister=queue #1268

Open
@kdakhli

Description

@kdakhli
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions