# Missing "escape" field in QueryStringQueryBuilder.java

**URL:** <https://discuss.elastic.co/t/missing-escape-field-in-querystringquerybuilder-java/20780>\
**Category:** Elasticsearch\
**Created:** [November 17, 2014, 10:47am UTC](https://discuss.elastic.co/t/missing-escape-field-in-querystringquerybuilder-java/20780 "2014-11-17T10:47:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Surabhi\_Prasad](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Surabhi\_Prasad](https://discuss.elastic.co/u/Surabhi_Prasad)\
**Post date:** [November 17, 2014, 10:47am UTC](https://discuss.elastic.co/t/missing-escape-field-in-querystringquerybuilder-java/20780/1 "2014-11-17T10:47:52Z")

</div>

A small question.

Is the QueryStringQueryBuilder java implementation missing "escape" field..  
I see the parser is parsing this but there is no way in the builder to set  
this field.

I know i can set the query string to an escaped value but just wanted to  
know if this is a missing implementation or by design.

thanks,  
Surabhi

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/e6d0aea8-7a70-44f3-884c-026362c4f597%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e6d0aea8-7a70-44f3-884c-026362c4f597%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:49am UTC](https://discuss.elastic.co/t/missing-escape-field-in-querystringquerybuilder-java/20780/2 "2017-07-06T00:49:37Z")

</div>

Closed on July 6, 2017, 12:49am UTC


