-
Notifications
You must be signed in to change notification settings - Fork 190
[FEATURE] Improve PPL Explain Results #4351
Copy link
Copy link
Closed
Labels
PPLPiped processing languagePiped processing languageenhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem?
Current explain results include \\\\ which is hard to remove when debuging DSL query.
{\"from\":0,\"size\":10000,\"timeout\":\"1m\",\"query\":{\"query_string\":{\"query\":\"(@timestamp:>=now\\\\-3M\\\\/y) AND (@timestamp:<=now)\",\"fields\":[],\"type\":\"best_fields\",\"default_operator\":\"or\",\"max_determinized_states\":10000,\"enable_position_increments\":true,\"fuzziness\":\"AUTO\",\"fuzzy_prefix_length\":0,\"fuzzy_max_expansions\":50,\"phrase_slop\":0,\"escape\":false,\"auto_generate_synonyms_phrase_query\":true,\"fuzzy_transpositions\":true,\"boost\":1.0}},\"_source\":{\"includes\":[\"@timestamp\",\"category\",\"value\",\"timestamp\"],\"excludes\":[]},\"sort\":[{\"_doc\":{\"order\":\"asc\"}}]}
What solution would you like?
DSL query could be copy from explain result, and past as query body.
What alternatives have you considered?
n/a
Do you have any additional context?
Add any other context or screenshots about the feature request here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PPLPiped processing languagePiped processing languageenhancementNew feature or requestNew feature or request
Type
Projects
Status
Done