1

I am making queries in kibana and am getting errors. Specifically, I want my search query to be just one space. Here is an example: request.query(" "). However, I keep getting an error where it says it there is a parsing exception. Does anyone know how to properly format a string query with one blank space properly so that no error is returned? Thank you in advance!

"query_string":{ "query":"( ) OR (* )",. This is the query. The exception is "type" : "query_shard_exception", "reason" : "Failed to parse query [( ) OR ( *)]",

I have tried using escape characters and whatnot, but it did not seem to help.

8
  • provider you query and exception. Commented Jan 12, 2023 at 19:34
  • "and whatnot" - Can you be more specific? Commented Jan 12, 2023 at 19:38
  • you say you're making a query and getting errors. What is the query query and the error? Example "request.query(" ")" says nothing to anyone trying to analyze your problem. Describe exactly what you are doing with example docs and expected behaviors to help the community reproduce the scenario. Commented Jan 12, 2023 at 19:46
  • @rabbitbr, "query_string":{ "query":"( ) OR (* )",. This is the query. The exception is "type" : "query_shard_exception", "reason" : "Failed to parse query [( ) OR ( *)]", Commented Jan 12, 2023 at 19:47
  • @Sanil - please edit your question to provide any additional, relevant information. You can also review the formatting help, as well as How to Ask. Commented Jan 12, 2023 at 19:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.