Query string length limit

Hi,
Could you clarify if there is a length limitation on the query string in
ElasticSearch? Specifically, if I have a query such as below, will there be
any issues? What is the max length that can be provided and is it
configurable?

Thanks!

{
"query_string" : {
"fields" : ["content"],
"query" : "this OR that OR abc OR ........<20000 characters> OR thus",
}
}

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2aee7e32-ca84-4122-8a5a-e840b63561c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hello Robbie ,

There is a limit on the query length or rather query terms.
Default value is 1024 , you can change it using the following -

index:
query:
bool:
max_clause_count: 10240

Thanks
Vineeth

On Sat, Apr 12, 2014 at 7:21 AM, Robbie pherur@ciphercloud.com wrote:

Hi,
Could you clarify if there is a length limitation on the query string in
Elasticsearch? Specifically, if I have a query such as below, will there be
any issues? What is the max length that can be provided and is it
configurable?

Thanks!

{
"query_string" : {
"fields" : ["content"],
"query" : "this OR that OR abc OR ........<20000 characters> OR thus",
}
}

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/2aee7e32-ca84-4122-8a5a-e840b63561c3%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/2aee7e32-ca84-4122-8a5a-e840b63561c3%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5n2FjANk4Jff0%3D6AYNiSTYzHiMzNM-FpT76wFKwJyepFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.