redirects.asciidoc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. ["appendix",role="exclude",id="redirects"]
  2. = Deleted pages
  3. The following pages have moved or been deleted.
  4. [role="exclude",id="cluster-nodes-shutdown"]
  5. === Nodes shutdown
  6. The `_shutdown` API has been removed. Instead, setup Elasticsearch to run as
  7. a service (see <<rpm>>, <<deb>>, or <<windows>>) or use the `-p`
  8. command line option to <<setup-installation-daemon,write the PID to a file>>.
  9. [role="exclude",id="indices-upgrade"]
  10. === Upgrade API
  11. The `_upgrade` API is no longer useful and will be removed. Instead, see
  12. <<reindex-upgrade>>.
  13. [role="exclude",id="docs-bulk-udp"]
  14. === Bulk UDP API
  15. The Bulk UDP services has been removed. Use the standard <<docs-bulk>> instead.
  16. [role="exclude",id="indices-delete-mapping"]
  17. === Delete Mapping
  18. It is no longer possible to delete the mapping for a type. Instead you should
  19. <<indices-delete-index,delete the index>> and recreate it with the new mappings.
  20. [role="exclude",id="indices-status"]
  21. === Index Status
  22. The index `_status` API has been replaced with the <<indices-stats>> and
  23. <<indices-recovery>> APIs.
  24. [role="exclude",id="mapping-analyzer-field"]
  25. === `_analyzer`
  26. The `_analyzer` field in type mappings is no longer supported and will be
  27. automatically removed from mappings when upgrading to 2.x.
  28. [role="exclude",id="mapping-boost-field"]
  29. === `_boost`
  30. The `_boost` field in type mappings is no longer supported and will be
  31. automatically removed from mappings when upgrading to 2.x.
  32. [role="exclude",id="mapping-conf-mappings"]
  33. === Config mappings
  34. It is no longer possible to specify mappings in files in the `config`
  35. directory. Instead, mappings should be created using the API with:
  36. * <<indices-create-index>>
  37. * <<indices-put-mapping>>
  38. * <<indices-templates>>
  39. [role="exclude",id="mapping-parent-field"]
  40. === `_parent` field
  41. The `_parent` field has been removed in favour of the <<parent-join,`join` field>>.
  42. [role="exclude",id="mapping-uid-field"]
  43. === `_uid` field
  44. The `_uid` field has been removed in favour of the <<mapping-id-field,`_id` field>>.
  45. [role="exclude",id="modules-memcached"]
  46. === memcached
  47. The `memcached` transport is no longer supported. Instead use the REST
  48. interface over <<modules-http,HTTP>> or the
  49. {javaclient}/index.html[Java API].
  50. [role="exclude",id="modules-thrift"]
  51. === Thrift
  52. The `thrift` transport is no longer supported. Instead use the REST
  53. interface over <<modules-http,HTTP>> or the
  54. {javaclient}/index.html[Java API].
  55. // QUERY DSL
  56. [role="exclude",id="query-dsl-queries"]
  57. === Queries
  58. Queries and filters have been merged. Any query clause can now be used as a query
  59. in ``query context'' and as a filter in ``filter context'' (see <<query-dsl>>).
  60. [role="exclude",id="query-dsl-filters"]
  61. === Filters
  62. Queries and filters have been merged. Any query clause can now be used as a query
  63. in ``query context'' and as a filter in ``filter context'' (see <<query-dsl>>).
  64. [role="exclude",id="query-dsl-not-filter"]
  65. === Not Filter
  66. The `not` query has been replaced by using a `must_not` clause in a `bool` query (see <<query-dsl-bool-query>>).
  67. [role="exclude",id="query-dsl-bool-filter"]
  68. === Bool Filter
  69. The `bool` filter has been replaced by the <<query-dsl-bool-query>>. It behaves
  70. as a query in ``query context'' and as a filter in ``filter context'' (see
  71. <<query-dsl>>).
  72. [role="exclude",id="query-dsl-exists-filter"]
  73. === Exists Filter
  74. The `exists` filter has been replaced by the <<query-dsl-exists-query>>. It behaves
  75. as a query in ``query context'' and as a filter in ``filter context'' (see
  76. <<query-dsl>>).
  77. [role="exclude",id="query-dsl-geo-bounding-box-filter"]
  78. === Geo Bounding Box Filter
  79. The `geo_bounding_box` filter has been replaced by the <<query-dsl-geo-bounding-box-query>>.
  80. It behaves as a query in ``query context'' and as a filter in ``filter
  81. context'' (see <<query-dsl>>).
  82. [role="exclude",id="query-dsl-geo-distance-filter"]
  83. === Geo Distance Filter
  84. The `geo_distance` filter has been replaced by the <<query-dsl-geo-distance-query>>.
  85. It behaves as a query in ``query context'' and as a filter in ``filter
  86. context'' (see <<query-dsl>>).
  87. [role="exclude",id="query-dsl-geo-distance-range-filter"]
  88. === Geo Distance Range Filter
  89. The `geo_distance_range` filter has been replaced by the <<query-dsl-geo-distance-range-query>>.
  90. It behaves as a query in ``query context'' and as a filter in ``filter
  91. context'' (see <<query-dsl>>).
  92. [role="exclude",id="query-dsl-geo-polygon-filter"]
  93. === Geo Polygon Filter
  94. The `geo_polygon` filter has been replaced by the <<query-dsl-geo-polygon-query>>.
  95. It behaves as a query in ``query context'' and as a filter in ``filter
  96. context'' (see <<query-dsl>>).
  97. [role="exclude",id="query-dsl-geo-shape-filter"]
  98. === Geo Shape Filter
  99. The `geo_shape` filter has been replaced by the <<query-dsl-geo-shape-query>>.
  100. It behaves as a query in ``query context'' and as a filter in ``filter
  101. context'' (see <<query-dsl>>).
  102. [role="exclude",id="query-dsl-has-child-filter"]
  103. === Has Child Filter
  104. The `has_child` filter has been replaced by the <<query-dsl-has-child-query>>. It behaves
  105. as a query in ``query context'' and as a filter in ``filter context'' (see
  106. <<query-dsl>>).
  107. [role="exclude",id="query-dsl-has-parent-filter"]
  108. === Has Parent Filter
  109. The `has_parent` filter has been replaced by the <<query-dsl-has-parent-query>>. It behaves
  110. as a query in ``query context'' and as a filter in ``filter context'' (see
  111. <<query-dsl>>).
  112. [role="exclude",id="query-dsl-top-children-query"]
  113. === Top Children Query
  114. The `top_children` query has been removed. Use the <<query-dsl-has-child-query>> instead.
  115. [role="exclude",id="query-dsl-ids-filter"]
  116. === IDs Filter
  117. The `ids` filter has been replaced by the <<query-dsl-ids-query>>. It behaves
  118. as a query in ``query context'' and as a filter in ``filter context'' (see
  119. <<query-dsl>>).
  120. [role="exclude",id="query-dsl-match-all-filter"]
  121. === Match All Filter
  122. The `match_all` filter has been replaced by the <<query-dsl-match-all-query>>. It behaves
  123. as a query in ``query context'' and as a filter in ``filter context'' (see
  124. <<query-dsl>>).
  125. [role="exclude",id="query-dsl-nested-filter"]
  126. === Nested Filter
  127. The `nested` filter has been replaced by the <<query-dsl-nested-query>>. It behaves
  128. as a query in ``query context'' and as a filter in ``filter context'' (see
  129. <<query-dsl>>).
  130. [role="exclude",id="query-dsl-prefix-filter"]
  131. === Prefix Filter
  132. The `prefix` filter has been replaced by the <<query-dsl-prefix-query>>. It behaves
  133. as a query in ``query context'' and as a filter in ``filter context'' (see
  134. <<query-dsl>>).
  135. [role="exclude",id="query-dsl-query-filter"]
  136. === Query Filter
  137. The `query` filter has been removed as queries and filters have been merged (see
  138. <<query-dsl>>).
  139. [role="exclude",id="query-dsl-range-filter"]
  140. === Range Filter
  141. The `range` filter has been replaced by the <<query-dsl-range-query>>. It behaves
  142. as a query in ``query context'' and as a filter in ``filter context'' (see
  143. <<query-dsl>>).
  144. [role="exclude",id="query-dsl-regexp-filter"]
  145. === Regexp Filter
  146. The `regexp` filter has been replaced by the <<query-dsl-regexp-query>>. It behaves
  147. as a query in ``query context'' and as a filter in ``filter context'' (see
  148. <<query-dsl>>).
  149. [role="exclude",id="query-dsl-script-filter"]
  150. === Script Filter
  151. The `script` filter has been replaced by the <<query-dsl-script-query>>. It behaves
  152. as a query in ``query context'' and as a filter in ``filter context'' (see
  153. <<query-dsl>>).
  154. [role="exclude",id="query-dsl-term-filter"]
  155. === Term Filter
  156. The `term` filter has been replaced by the <<query-dsl-term-query>>. It behaves
  157. as a query in ``query context'' and as a filter in ``filter context'' (see
  158. <<query-dsl>>).
  159. [role="exclude",id="query-dsl-terms-filter"]
  160. === Terms Filter
  161. The `terms` filter has been replaced by the <<query-dsl-terms-query>>. It behaves
  162. as a query in ``query context'' and as a filter in ``filter context'' (see
  163. <<query-dsl>>).
  164. [role="exclude",id="query-dsl-type-filter"]
  165. === Type Filter
  166. The `type` filter has been replaced by the <<query-dsl-type-query>>. It behaves
  167. as a query in ``query context'' and as a filter in ``filter context'' (see
  168. <<query-dsl>>).
  169. [role="exclude",id="query-dsl-flt-query"]
  170. === Fuzzy Like This Query
  171. The `fuzzy_like_this`, alternatively known as `flt`, query has been removed. Instead use either
  172. the <<query-dsl-match-query-fuzziness,`fuzziness`>> parameter with the
  173. <<query-dsl-match-query,`match` query>> or the <<query-dsl-mlt-query>>.
  174. [role="exclude",id="query-dsl-flt-field-query"]
  175. === Fuzzy Like This Field Query
  176. The `fuzzy_like_this_field` or `flt_field` query has been removed. Instead use
  177. the <<query-dsl-match-query-fuzziness,`fuzziness`>> parameter with the
  178. <<query-dsl-match-query,`match` query>> or the <<query-dsl-mlt-query>>.
  179. [role="exclude",id="query-dsl-geo-distance-range-query"]
  180. === Geo distance range Query
  181. The `geo_distance_range` query has been removed. Instead use the
  182. <<query-dsl-geo-distance-query, Geo Distance Query>> with pagination
  183. or the
  184. <<search-aggregations-bucket-geodistance-aggregation, Geo Distance Aggregation>>
  185. depending on your needs.
  186. [role="exclude",id="query-dsl-geohash-cell-query"]
  187. === Geohash Cell Query
  188. The `geohash_cell` query has been removed. Instead use the
  189. <<query-dsl-geo-bounding-box-query, Geo Bounding Box Query>>.
  190. [role="exclude",id="search-more-like-this"]
  191. === More Like This API
  192. The More Like This API has been removed. Instead, use the <<query-dsl-mlt-query>>.
  193. // FACETS
  194. [role="exclude",id="search-facets"]
  195. === Facets
  196. Faceted search refers to a way to explore large amounts of data by displaying
  197. summaries about various partitions of the data and later allowing to narrow
  198. the navigation to a specific partition.
  199. In Elasticsearch, `facets` are also the name of a feature that allowed to
  200. compute these summaries. `facets` have been replaced by
  201. <<search-aggregations, aggregations>> in Elasticsearch 1.0, which are a superset
  202. of facets.
  203. [role="exclude",id="search-facets-filter-facet"]
  204. === Filter Facet
  205. Facets have been removed. Use the
  206. <<search-aggregations-bucket-filter-aggregation,`filter` aggregation>> or
  207. <<search-aggregations-bucket-filters-aggregation,`filters` aggregation>> instead.
  208. [role="exclude",id="search-facets-query-facet"]
  209. === Query Facet
  210. Facets have been removed. Use the
  211. <<search-aggregations-bucket-filter-aggregation,`filter` aggregation>> or
  212. <<search-aggregations-bucket-filters-aggregation,`filters` aggregation>> instead.
  213. [role="exclude",id="search-facets-geo-distance-facet"]
  214. === Geo Distance Facet
  215. Facets have been removed. Use the
  216. <<search-aggregations-bucket-geodistance-aggregation,`geo_distance` aggregation>> instead.
  217. [role="exclude",id="search-facets-histogram-facet"]
  218. === Histogram Facet
  219. Facets have been removed. Use the
  220. <<search-aggregations-bucket-histogram-aggregation,`histogram` aggregation>> instead.
  221. [role="exclude",id="search-facets-date-histogram-facet"]
  222. === Date Histogram Facet
  223. Facets have been removed. Use the
  224. <<search-aggregations-bucket-datehistogram-aggregation,`date_histogram` aggregation>> instead.
  225. [role="exclude",id="search-facets-range-facet"]
  226. === Range Facet
  227. Facets have been removed. Use the
  228. <<search-aggregations-bucket-range-aggregation,`range` aggregation>> instead.
  229. [role="exclude",id="search-facets-terms-facet"]
  230. === Terms Facet
  231. Facets have been removed. Use the
  232. <<search-aggregations-bucket-terms-aggregation,`terms` aggregation>> instead.
  233. [role="exclude",id="search-facets-terms-statistical-facet"]
  234. === Terms Stats Facet
  235. Facets have been removed. Use the
  236. <<search-aggregations-bucket-terms-aggregation,`terms` aggregation>>
  237. with the <<search-aggregations-metrics-stats-aggregation,`stats` aggregation>>
  238. or the <<search-aggregations-metrics-extendedstats-aggregation,`extended_stats` aggregation>>
  239. instead.
  240. [role="exclude",id="search-facets-statistical-facet"]
  241. === Statistical Facet
  242. Facets have been removed. Use the
  243. <<search-aggregations-metrics-stats-aggregation,`stats` aggregation>>
  244. or the <<search-aggregations-metrics-extendedstats-aggregation,`extended_stats` aggregation>> instead.
  245. [role="exclude",id="search-facets-migrating-to-aggs"]
  246. === Migrating from facets to aggregations
  247. Facets have been removed. Use <<search-aggregations>> instead.
  248. // CACHES
  249. [role="exclude",id="shard-query-cache"]
  250. === Shard request cache
  251. The shard query cache has been renamed <<shard-request-cache>>.
  252. [role="exclude",id="filter-cache"]
  253. === Query cache
  254. The filter cache has been renamed <<query-cache>>.
  255. [role="exclude",id="query-dsl-filtered-query"]
  256. === Filtered query
  257. The `filtered` query is replaced by the <<query-dsl-bool-query,bool>> query. Instead of
  258. the following:
  259. [source,js]
  260. -------------------------
  261. ## INCORRECT - DEPRECATED SYNTAX, DO NOT USE
  262. GET _search
  263. {
  264. "query": {
  265. "filtered": {
  266. "query": {
  267. "match": {
  268. "text": "quick brown fox"
  269. }
  270. },
  271. "filter": {
  272. "term": {
  273. "status": "published"
  274. }
  275. }
  276. }
  277. }
  278. }
  279. -------------------------
  280. // NOTCONSOLE
  281. move the query and filter to the `must` and `filter` parameters in the `bool`
  282. query:
  283. [source,js]
  284. -------------------------
  285. GET _search
  286. {
  287. "query": {
  288. "bool": {
  289. "must": {
  290. "match": {
  291. "text": "quick brown fox"
  292. }
  293. },
  294. "filter": {
  295. "term": {
  296. "status": "published"
  297. }
  298. }
  299. }
  300. }
  301. }
  302. -------------------------
  303. // CONSOLE
  304. [role="exclude",id="query-dsl-or-query"]
  305. === Or query
  306. The `or` query is replaced in favour of the <<query-dsl-bool-query,bool>> query.
  307. [role="exclude",id="query-dsl-or-filter"]
  308. === Or filter
  309. The `or` filter is replaced in favour of the <<query-dsl-bool-query,bool>> query.
  310. [role="exclude",id="query-dsl-and-query"]
  311. === And query
  312. The `and` query is replaced in favour of the <<query-dsl-bool-query,bool>> query.
  313. [role="exclude",id="query-dsl-and-filter"]
  314. === And filter
  315. The `and` filter is replaced in favour of the <<query-dsl-bool-query,bool>> query.
  316. [role="exclude",id="query-dsl-limit-query"]
  317. === Limit query
  318. The `limit` query is replaced in favour of the <<search-request-body,terminate_after>>
  319. parameter of search requests.
  320. [role="exclude",id="query-dsl-limit-filter"]
  321. === Limit filter
  322. The `limit` filter is replaced in favour of the <<search-request-body,terminate_after>>
  323. parameter of search requests.
  324. [role="exclude",id="query-dsl-not-query"]
  325. === Not query
  326. The `not` query has been replaced by using a `mustNot` clause in a Boolean query.
  327. [role="exclude",id="mapping-nested-type"]
  328. === Nested type
  329. The docs for the `nested` field datatype have moved to <<nested>>.
  330. [role="exclude",id="indices-warmers"]
  331. === Warmers
  332. Warmers have been removed. There have been significant improvements to the
  333. index that make warmers not necessary anymore.
  334. [role="exclude",id="index-boost"]
  335. === Index time boosting
  336. The index time boost mapping has been replaced with query time boost (see <<mapping-boost>>).
  337. [role="exclude",id="modules-scripting-native"]
  338. === Native scripting
  339. Native scripts have been replaced with writing custom `ScriptEngine` backends (see <<modules-scripting-engine>>).
  340. [role="exclude",id="modules-advanced-scripting"]
  341. === Advanced scripting
  342. Using `_index` in scripts has been replaced with writing `ScriptEngine` backends (see <<modules-scripting-engine>>).
  343. [role="exclude",id="modules-scripting-painless-syntax"]
  344. === Painless Syntax
  345. See the
  346. {painless}/painless-lang-spec.html[Painless Language Specification]
  347. in the guide to the {painless}/index.html[Painless Scripting Language].
  348. [role="exclude",id="modules-scripting-painless-debugging"]
  349. === Painless Debugging
  350. See {painless}/painless-debugging.html[Painless Debugging] in the
  351. guide to the {painless}/index.html[Painless Scripting Language].
  352. [role="exclude",id="painless-api-reference"]
  353. === Painless API Reference
  354. See the {painless}/painless-api-reference.html[Painless API Reference] in
  355. the guide to the {painless}/index.html[Painless Scripting Language].
  356. [role="exclude", id="security-api-roles"]
  357. === Role management APIs
  358. You can use the following APIs to add, remove, and retrieve roles in the native realm:
  359. * <<security-api-put-role,Create role>>, <<security-api-delete-role,Delete role>>
  360. * <<security-api-clear-role-cache,Clear roles cache>>
  361. * <<security-api-get-role,Get roles>>
  362. [role="exclude",id="security-api-tokens"]
  363. === Token management APIs
  364. You can use the following APIs to create and invalidate bearer tokens for access
  365. without requiring basic authentication:
  366. * <<security-api-get-token,Get token>>, <<security-api-invalidate-token,Invalidate token>>
  367. [role="exclude",id="security-api-users"]
  368. === User Management APIs
  369. You can use the following APIs to create, read, update, and delete users from the
  370. native realm:
  371. * <<security-api-put-user,Create users>>, <<security-api-delete-user,Delete users>>
  372. * <<security-api-enable-user,Enable users>>, <<security-api-disable-user,Disable users>>
  373. * <<security-api-change-password,Change passwords>>
  374. * <<security-api-get-user,Get users>>
  375. [role="exclude",id="security-api-role-mapping"]
  376. === Role mapping APIs
  377. You can use the following APIs to add, remove, and retrieve role mappings:
  378. * <<security-api-put-role-mapping,Add role mappings>>, <<security-api-delete-role-mapping,Delete role mappings>>
  379. * <<security-api-get-role-mapping,Get role mappings>>
  380. [role="exclude",id="security-api-privileges"]
  381. === Privilege APIs
  382. See <<security-api-has-privileges>>.
  383. [role="exclude",id="xpack-commands"]
  384. === X-Pack commands
  385. See <<commands>>.
  386. [role="exclude",id="ml-api-definitions"]
  387. === Machine learning API definitions
  388. See <<api-definitions>>.
  389. [role="exclude",id="analysis-standard-tokenfilter"]
  390. === Standard filter removed
  391. The standard token filter has been removed.