Skip to content

'or' and 'and' operators work same #3

@npc109

Description

@npc109

input select name from users where name='nick' and name='zxc'
output POST users/_search { "query": { "bool": { "must": [ { "match": { "name": "nick" } }, { "match": { "name": "zxc" } } ] } }, "_source": [ "name" ] }

input select name from users where name='nick' or name='zxc1'
output POST users/_search { "query": { "bool": { "must": [ { "match": { "name": "nick" } }, { "match": { "name": "zxc1" } } ] } }, "_source": [ "name" ] }

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