[API] remove global parameter source from individual APIs

Same way we don't define pretty anywhere, we shouldn't have source
This commit is contained in:
Honza Král 2015-04-29 00:11:32 +02:00
parent c55818fa2d
commit 28e5a649b4
17 changed files with 1 additions and 69 deletions

View File

@ -41,10 +41,6 @@
"routing": {
"type" : "string",
"description" : "Specific routing value"
},
"source": {
"type" : "string",
"description" : "The URL-encoded query definition (instead of using the request body)"
}
}
},

View File

@ -23,10 +23,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"routing": {
"type": "list",
"description": "A comma-separated list of specific routing values"

View File

@ -69,10 +69,6 @@
"type" : "string",
"description" : "Specific routing value"
},
"source": {
"type" : "string",
"description" : "The URL-encoded query definition (instead of using the request body)"
},
"_source": {
"type" : "list",
"description" : "True or false to return the _source field or not, or a list of fields to return"

View File

@ -12,10 +12,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"analyzer": {
"type" : "string",
"description" : "The name of the analyzer to use"

View File

@ -37,10 +37,6 @@
"operation_threading": {
"description" : "TODO: ?"
},
"source": {
"type" : "string",
"description" : "The URL-encoded query definition (instead of using the request body)"
},
"q": {
"type" : "string",
"description" : "Query in the Lucene query string syntax"

View File

@ -16,10 +16,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"fields": {
"type": "list",
"description" : "A comma-separated list of fields to return in the response"

View File

@ -23,10 +23,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"boost_terms": {
"type" : "number",
"description" : "The boost factor"

View File

@ -16,10 +16,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"ignore_unavailable": {
"type": "boolean",
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"

View File

@ -16,10 +16,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"search_type": {
"type" : "enum",
"options" : ["query_then_fetch", "query_and_fetch", "dfs_query_then_fetch", "dfs_query_and_fetch", "count", "scan"],

View File

@ -16,10 +16,6 @@
}
},
"params" : {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"ids" : {
"type" : "list",
"description" : "A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body",
@ -97,4 +93,4 @@
}
}
}
}

View File

@ -23,10 +23,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"routing": {
"type" : "list",
"description" : "A comma-separated list of specific routing values"

View File

@ -12,10 +12,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"scroll": {
"type" : "duration",
"description" : "Specify how long a consistent view of the index should be maintained for scrolled search"

View File

@ -101,10 +101,6 @@
"type" : "list",
"description" : "A comma-separated list of <field>:<direction> pairs"
},
"source": {
"type" : "string",
"description" : "The URL-encoded request definition using the Query DSL (instead of using request body)"
},
"_source": {
"type" : "list",
"description" : "True or false to return the _source field or not, or a list of fields to return"

View File

@ -41,10 +41,6 @@
"routing": {
"type" : "string",
"description" : "Specific routing value"
},
"source": {
"type" : "string",
"description" : "The URL-encoded query definition (instead of using the request body)"
}
}
},

View File

@ -16,10 +16,6 @@
}
},
"params" : {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"ignore_unavailable": {
"type" : "boolean",
"description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"

View File

@ -33,10 +33,6 @@
"routing": {
"type" : "string",
"description" : "Specific routing value"
},
"source": {
"type" : "string",
"description" : "The URL-encoded request definition (instead of using request body)"
}
}
},

View File

@ -22,10 +22,6 @@
}
},
"params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"term_statistics" : {
"type" : "boolean",
"description" : "Specifies if total term frequency and document frequency should be returned.",