Skip to content

Updated the 1.4 rest api spec for termvector artifical doc feature #8869

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions rest-api-spec/api/mtermvectors.json
Original file line number Diff line number Diff line change
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 @@ -78,7 +74,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/termvector.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"documentation" : "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/docs-termvectors.html",
"methods" : ["GET", "POST"],
"url" : {
"path" : "/{index}/{type}/{id}/_termvector",
"paths" : ["/{index}/{type}/{id}/_termvector"],
"path" : "/{index}/{type}/_termvector",
"paths" : ["/{index}/{type}/_termvector", "/{index}/{type}/{id}/_termvector"],
"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 @@ -76,7 +75,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