java.lang.IllegalArgumentException: explicit index in multi get is not allowed

GitHub | mohantnr | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unclear error with `multi.allow_explicit_index` disabled in ES

    GitHub | 7 months ago | mohantnr
    java.lang.IllegalArgumentException: explicit index in multi get is not allowed

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      explicit index in multi get is not allowed

      at org.elasticsearch.action.get.MultiGetRequest.parseDocuments()
    2. ElasticSearch
      RestController.dispatchRequest
      1. org.elasticsearch.action.get.MultiGetRequest.parseDocuments(MultiGetRequest.java:398)
      2. org.elasticsearch.action.get.MultiGetRequest.add(MultiGetRequest.java:364)
      3. org.elasticsearch.rest.action.get.RestMultiGetAction.handleRequest(RestMultiGetAction.java:68)
      4. org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:54)
      5. org.elasticsearch.rest.RestController.executeHandler(RestController.java:205)
      6. org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:166)
      6 frames