[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": { "routing": {
"type" : "string", "type" : "string",
"description" : "Specific routing value" "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": { "params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"routing": { "routing": {
"type": "list", "type": "list",
"description": "A comma-separated list of specific routing values" "description": "A comma-separated list of specific routing values"

View File

@ -69,10 +69,6 @@
"type" : "string", "type" : "string",
"description" : "Specific routing value" "description" : "Specific routing value"
}, },
"source": {
"type" : "string",
"description" : "The URL-encoded query definition (instead of using the request body)"
},
"_source": { "_source": {
"type" : "list", "type" : "list",
"description" : "True or false to return the _source field or not, or a list of fields to return" "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": { "params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"analyzer": { "analyzer": {
"type" : "string", "type" : "string",
"description" : "The name of the analyzer to use" "description" : "The name of the analyzer to use"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -101,10 +101,6 @@
"type" : "list", "type" : "list",
"description" : "A comma-separated list of <field>:<direction> pairs" "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": { "_source": {
"type" : "list", "type" : "list",
"description" : "True or false to return the _source field or not, or a list of fields to return" "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": { "routing": {
"type" : "string", "type" : "string",
"description" : "Specific routing value" "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" : { "params" : {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"ignore_unavailable": { "ignore_unavailable": {
"type" : "boolean", "type" : "boolean",
"description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)" "description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"

View File

@ -33,10 +33,6 @@
"routing": { "routing": {
"type" : "string", "type" : "string",
"description" : "Specific routing value" "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": { "params": {
"source": {
"type" : "string",
"description" : "The URL-encoded request definition"
},
"term_statistics" : { "term_statistics" : {
"type" : "boolean", "type" : "boolean",
"description" : "Specifies if total term frequency and document frequency should be returned.", "description" : "Specifies if total term frequency and document frequency should be returned.",