Skip to content

Commit

Permalink
updated (m)termvectors api specs to reflect #7530 which made it into 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Dec 12, 2014
1 parent 6dacf61 commit bb6e539
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
8 changes: 2 additions & 6 deletions rest-api-spec/api/mtermvectors.json
Expand Up @@ -13,11 +13,7 @@
"type" : {
"type" : "string",
"description" : "The type of the document."
},
"id" : {
"type" : "string",
"description" : "The id of the document."
}
}
},
"params" : {
"ids" : {
Expand Down Expand Up @@ -83,7 +79,7 @@
}
},
"body" : {
"description" : "Define ids, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.",
"description" : "Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.",
"required" : false

}
Expand Down
9 changes: 4 additions & 5 deletions rest-api-spec/api/termvectors.json
Expand Up @@ -3,8 +3,8 @@
"documentation" : "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/docs-termvectors.html",
"methods" : ["GET", "POST"],
"url" : {
"path" : "/{index}/{type}/{id}/_termvectors",
"paths" : ["/{index}/{type}/{id}/_termvectors"],
"path" : "/{index}/{type}/_termvectors",
"paths" : ["/{index}/{type}/_termvectors", "/{index}/{type}/{id}/_termvectors"],
"parts" : {
"index" : {
"type" : "string",
Expand All @@ -18,8 +18,7 @@
},
"id" : {
"type" : "string",
"description" : "The id of the document.",
"required" : true
"description" : "The id of the document, when not specified a doc param should be supplied."
}
},
"params": {
Expand Down Expand Up @@ -87,7 +86,7 @@
}
},
"body": {
"description" : "Define parameters. See documentation.",
"description" : "Define parameters and or supply a document to get termvectors for. See documentation.",
"required" : false
}
}
Expand Down

0 comments on commit bb6e539

Please sign in to comment.