Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
kdakhli opened this issue Sep 4, 2022 · 0 comments
Open

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

kdakhli opened this issue Sep 4, 2022 · 0 comments

Comments

@kdakhli
Copy link

kdakhli commented Sep 4, 2022

    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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant