Welcome to uptasticsearch! This package exists to help R users connect to elasticsearch databases smoothly and easily. However, sometimes things go wrong! This FAQ is an ongoing project to catalog common errors and questions people have about this system, and provide simple and useful answers.
If your question is not presented here, and google doesn’t help, go ahead and post an issue on github so somebody can help you.
Developing queries of your own for elasticsearch is sometimes tough. If you are finding that the queries you write are not valid, there may be many reasons. You are probably in this situation if your error is Bad Request (HTTP 400)
or similar.
After you have verified with certainty that your query is appropriately structured and written, you might still have challenges. What to do if you get the error Query is syntactically valid but 0 documents were matched. Returning NULL
?
We are always happy to get more questions and answers to add to this guide. If you have a tricky issue that you have figured out the solution to, please submit a PR on github and add it to this guide.