Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parent is ignored in exists request #3276

Closed
clintongormley opened this issue Jul 1, 2013 · 0 comments
Closed

Parent is ignored in exists request #3276

clintongormley opened this issue Jul 1, 2013 · 0 comments

Comments

@clintongormley
Copy link

The parent param is ignored in HEAD requests on /index/type/id:

curl -XPUT 'localhost:9200/test_1?pretty=1'  -d '
{
   "mappings" : {
      "test" : {
         "_parent" : {
            "type" : "foo"
         }
      }
   }
}
'

curl -XGET 'localhost:9200/_cluster/health?wait_for_status=yellow&pretty=1'

curl -XPUT 'localhost:9200/test_1/test/1?parent=5&pretty=1'  -d '
{
   "foo" : "bar"
}
'

curl -XHEAD 'localhost:9200/test_1/test/1?parent=5&pretty=1'

# [Mon Jul  1 14:50:27 2013] ERROR: Not Found (404)
#
@ghost ghost assigned javanna Jul 1, 2013
javanna pushed a commit that referenced this issue Jul 1, 2013
The routing was always set to null right after the parent was set.

Closes #3276
@javanna javanna closed this as completed in 2314b86 Jul 1, 2013
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
The routing was always set to null right after the parent was set.

Closes elastic#3276
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants