Skip to content

Ids query raises type missing for array of types #37

@Garito

Description

@Garito

Even when the manual says you could pass type as an array for a Ids query:
The type is optional and can be omitted, and can also accept an array of values.
When I try this query:

{
  "query": {
    "ids": {
      "type": ["project", "task"],
      "values": [
        "PnnJZF-iRJqUqmP2FptBZw",
        "PcCoyqzKQf2ipeV1Ns4iPQ",
        "4fNSubM9RMS1BnInrDVoHg"
      ]
    }
  }
}

Inquisitor raises "type missing" and doesn't gives you back any result but if I try the same query directly to elasticsearch it works as expected

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