"[query_shard_exception] failed to create query" for second index/website


I'm in the process of adding elasticsearch to our second website, with a new index. Each site has a specified index in a js config file. The current site works flawlessly, however when trying to run a search on the new index I get the error in the title of this post. The exact same code works fine on the other index. Any suggestions for what might be going wrong?

    Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware An unhandled exception has occurred while executing the request.Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException: [query_shard_exception] failed to create query: {
      "nested" : {
        "query" : {
          "match_all" : {
            "boost" : 1.0
        "path" : "attributes",
        "ignore_unmapped" : false,
        "score_mode" : "avg",
        "boost" : 1.0
    }, with { index_uuid="uuidhere" & index="indexnamehere" }

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.