Can you reproduce it with a full curl recreation and gist it?
In which version?

If confirmed, could you open an issue?

-- 
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr


Le 27 janvier 2014 at 18:50:32, Nikolay Chankov ([email protected]) a écrit:

Hi guys,

today I've noticed that order of the elements in the request does matter for 
example:

curl -XGET 'http://localhost:9200/search/_search'-d '
{
   "sort" : {...},
   "size" : 100,
   "query" : {...}
}'

is working, while

curl -XGET 'http://localhost:9200/search/_search'-d '
{
   "query" : {...},
   "sort" : {...},
   "size" : 100
}'

Doesn't take effect of size as well as on sort. 

I think the order shouldn't matter, and ES should reorder the elements 
internally. Am I get it wrong, or there is special reason for this?

Thanks in advance. 


--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/c0d7791a-9c8a-40e9-855d-b6a88f2f2c87%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/etPan.52e69d69.7c3dbd3d.b15f%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to