Questions tagged [elasticsearch-exception]

7 questions
2
votes
1 answer

ElasticSearch throwing mapper parsing exception when indexing JSON array of integers and strings

I am attempting to use python to pull a JSON array from a file and input it into ElasticSearch. The array looks as follows: {"name": [["string1", 1, "string2"],["string3", 2, "string4"], ... (variable length) ... ["string n-1", 3, "string…
snowfire257
  • 55
  • 1
  • 1
  • 6
1
vote
1 answer

Unable to execute mtermvectors elasticsearch query from AWS EMR cluster using Spark

I am trying to execute this elasticsearch query via spark: POST /aa6/_mtermvectors { "ids": [ "ABC", "XYA", "RTE" ], "parameters": { "fields": [ "attribute" ], …
Salil Surendran
  • 2,245
  • 4
  • 27
  • 42
1
vote
1 answer

NoNodeAvailableException[None of the configured nodes were available:

if I do not set size, I can get 10 hits: SearchResponse sr = client.prepareSearch("xxx").setTypes("xxx") .setQuery(rangeQueryBuilder) .setQuery(queryBuilder) but when I set size more than 12: SearchResponse sr =…
0
votes
1 answer

ElasticSearch: Too many dynamic script compilations within, max limit error

While I was try to run update by query on elastci search I got below exception, `{"log.time":"2023-03-21 06:53:18.817","log.level":"ERROR","message":"error in updating documents: Elasticsearch exception [type=general_script_exception, reason=Failed…
0
votes
0 answers

Cancelling long-running Elasticsearch tasks times out

My _search requests had been gradually becoming slower and slower to the point of 504 gateway timeouts. Then I saw dozens of super-long running indices:data/read/search tasks with no end in sight so I tried to cancel them using POST…
0
votes
1 answer

boosting query in elasticsearch

I am searching the following index (sample shown below): …
ayush singhal
  • 1,879
  • 2
  • 18
  • 33
0
votes
1 answer

mapper_parsing_exception while creating an index in elastic search 6.4.0

I am trying to create an Elasticsearch index using below JSON which is causing an exception. The current version of elastic search I'm using is 6.4.0. The exception says Root mapping definition has unsupported parameters. Not sure what is the…
shoaib1992
  • 410
  • 1
  • 8
  • 26