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

Comments

Projects
None yet
2 participants
@clintongormley
Copy link
Member

commented Jul 1, 2013

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

Luca Cavanna
Parent was ignored in exists request
The routing was always set to null right after the parent was set.

Closes #3276

@javanna javanna closed this in 2314b86 Jul 1, 2013

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Luca Cavanna
Parent was ignored in exists request
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
You can’t perform that action at this time.