# URL query parameters limitation

**URL:** <https://discuss.elastic.co/t/url-query-parameters-limitation/9084>\
**Category:** Elasticsearch\
**Created:** [September 20, 2012, 9:37pm UTC](https://discuss.elastic.co/t/url-query-parameters-limitation/9084 "2012-09-20T21:37:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [September 20, 2012, 10:32pm UTC](https://discuss.elastic.co/t/url-query-parameters-limitation/9084/2 "2012-09-20T22:32:19Z")

</div>

In HTTP, it is up to the implementation to limit the request URI length, see

[http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1](http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1)

ES uses Netty for HTTP implementation, and current Netty HTTP request  
limits are documented here

[http://static.netty.io/3.5/api/org/jboss/netty/handler/codec/http/HttpRequestDecoder.html](http://static.netty.io/3.5/api/org/jboss/netty/handler/codec/http/HttpRequestDecoder.html)

Best regards,

Jörg

On Thursday, September 20, 2012 11:37:22 PM UTC+2, TheOutlander wrote:

> I'm ramping up on Query DSL and have heard that URL parameter queries have  
> a limitation compared to JSON queries in the Request body.  
> Could someone please elaborate (or point to a doc) on those limitations?
> 
> Thanks,  
> Nick

--

---

_[View the full topic](https://discuss.elastic.co/t/url-query-parameters-limitation/9084)._
