Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Raw query search bug #109

Open
Open
@kesirog

Description

@kesirog

Followed the documentation forsearching with raw query and it doesn't work, tried using same example with map and it did indeed work as intended. Ended up using raw query, but wrapped the json query into a poison decode.

Raw query (example from docs)
Elasticsearch.post(MyApp.ElasticsearchCluster, "/posts/_doc/_search", '{"query": {"match_all": {}}}')

Raw query (solved)
Wrap json query intoPoison.decode!
Elasticsearch.post(MyApp.ElasticsearchCluster, "/posts/_doc/_search", Poison.decode!('{"query": {"match_all": {}}}'))

I hope this helps someone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp