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:
parent
2ec8372cc4
commit
1fc89917d0
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue