Hi I have a problem with Enterprise search. I have loaded the index and want to test the search through Search UI. And generally it works fine, but sometimes the error "Internal server error. Please check your application server logs for more details and contact Elastic support if the problem persists." pops up.
I noticed in Api Logs that this happens when the query is empty
Of course, I do not make empty inquiries. It's just that after some time of inactivity on the site it throws me this error.
Which connector are you using? The elasticsearch-connector or app-search-connector? I presume the app-search-connector in this example as you are using enterprise search.
Its fine to be performing empty queries, it should return back all the results.
is the response a 5xx from the API?
It could be down to a particular result thats causing issues with serialising. One way to diagnose is to copy the request and repeat it in postman but adjusting the size and from parameters to bring back a single result to see if you get a 200 or 500 back. Also adjusting the result fields too.
In postman, when it executes POST with empty query and size is set to 100 it gets error. On the other hand, when I change the size to 21 I get a response.
When the query is not empty ( i mean query": "blabla") then with size 100 it works.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.