OS::Glance::Metadefs to OS::Glance::Metadef

"OS::Glance::Metadefs" should be "OS::Glance::Metadef" in API guide

Change-Id: If49d5550fbdf80e5036268f07c10d0be8c349e77
Closes-bug: #1514725
This commit is contained in:
liyingjun 2015-11-10 16:01:52 +08:00
parent 2ec8372cc4
commit 1fc89917d0
1 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ To restrict a query to Glance image and metadef information only (both
"query": {
"match_all": {}
},
"type": ["OS::Glance::Image", "OS::Glance::Metadefs"]
"type": ["OS::Glance::Image", "OS::Glance::Metadef"]
}
If ``index`` or ``type`` are not provided they will default to covering as
@ -374,7 +374,7 @@ A common requirement is to highlight search terms in results::
{
"type": "OS::Glance::Metadefs",
"type": "OS::Glance::Metadef",
"query": {
"query_string": {
"query": "database"