mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
[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:
parent
c55818fa2d
commit
28e5a649b4
@ -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)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -23,10 +23,6 @@
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"source": {
|
||||
"type" : "string",
|
||||
"description" : "The URL-encoded request definition"
|
||||
},
|
||||
"boost_terms": {
|
||||
"type" : "number",
|
||||
"description" : "The boost factor"
|
||||
|
@ -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)"
|
||||
|
@ -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"],
|
||||
|
@ -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 @@
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -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)"
|
||||
|
@ -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)"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -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.",
|
||||
|
Loading…
x
Reference in New Issue
Block a user