Skip to content

[query_string] query does not support [all_fields] and cannot use [all_fields] parameter in conjunction with [default_field] or [fields] #91

@ksipma

Description

@ksipma

I want to use marija with docker. I have 2 docker containers. one with marija and one with elasticsearch.
I seeded some fake data, the index looks like this:

GET es:9200/test_persons

{
  "test_persons": {
    "aliases": {},
    "mappings": {
      "person": {
        "properties": {
          "city": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "settings": {
      "index": {
        "creation_date": "1551956277080",
        "number_of_shards": "5",
        "number_of_replicas": "1",
        "uuid": "xxxxxx",
        "version": {
          "created": "2040699"
        }
      }
    },
    "warmers": {}
  }
}

I tried a whole lot of different elasticsearch versions in docker

My config of marija looks like this:

config-docker.toml

[datasource]

[datasource.test_persons]
type="elasticsearch"
url="http://es:9200/test_persons"

[[loggings]]
output = "stdout"
level = "debug"

I am not so experienced with elasticsearch, I hope it is just a stupid mistake. Can someone help me?

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