Hi!
Could you, please, help me on sanitizing the query? I prefer python
Thanks!
Hi!
Could you, please, help me on sanitizing the query? I prefer python
Thanks!
What is the question?
I'm asking for a python code that sanitizes the user input before parse it to the querystring query
For instance, using this query:
+
will fail
I don't know if this query has any security concern but will be nice if the sanitization process could have this in mind
Why not using a simple_query_string
query instead?
As soon as I can migrate my servers to 5.x
But this will solve my problem and I plan to upgrade'em soon
Thanks David!!!
simple_query_string
exists in previous versions as well. Which one are you running?
Using 1.7
This query exists in 1.7: https://www.elastic.co/guide/en/elasticsearch/reference/1.7/query-dsl-simple-query-string-query.html
Wow! Nice!
I will bet that I was checked this out but will lost like a champ
I'll try it, thanks a lot!!!!!!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.