redirects.asciidoc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  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="modules-memcached"]
  40. === memcached
  41. The `memcached` transport is no longer supported. Instead use the REST
  42. interface over <<modules-http,HTTP>> or the
  43. https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/index.html[Java API].
  44. [role="exclude",id="modules-thrift"]
  45. === Thrift
  46. The `thrift` transport is no longer supported. Instead use the REST
  47. interface over <<modules-http,HTTP>> or the
  48. https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/index.html[Java API].
  49. // QUERY DSL
  50. [role="exclude",id="query-dsl-queries"]
  51. === Queries
  52. Queries and filters have been merged. Any query clause can now be used as a query
  53. in ``query context'' and as a filter in ``filter context'' (see <<query-dsl>>).
  54. [role="exclude",id="query-dsl-filters"]
  55. === Filters
  56. Queries and filters have been merged. Any query clause can now be used as a query
  57. in ``query context'' and as a filter in ``filter context'' (see <<query-dsl>>).
  58. [role="exclude",id="query-dsl-not-filter"]
  59. === Not Filter
  60. The `not` query has been replaced by using a `mustNot` clause in a Boolean query.
  61. [role="exclude",id="query-dsl-bool-filter"]
  62. === Bool Filter
  63. The `bool` filter has been replaced by the <<query-dsl-bool-query>>. It behaves
  64. as a query in ``query context'' and as a filter in ``filter context'' (see
  65. <<query-dsl>>).
  66. [role="exclude",id="query-dsl-exists-filter"]
  67. === Exists Filter
  68. The `exists` filter has been replaced by the <<query-dsl-exists-query>>. It behaves
  69. as a query in ``query context'' and as a filter in ``filter context'' (see
  70. <<query-dsl>>).
  71. [role="exclude",id="query-dsl-geo-bounding-box-filter"]
  72. === Geo Bounding Box Filter
  73. The `geo_bounding_box` filter has been replaced by the <<query-dsl-geo-bounding-box-query>>.
  74. It behaves as a query in ``query context'' and as a filter in ``filter
  75. context'' (see <<query-dsl>>).
  76. [role="exclude",id="query-dsl-geo-distance-filter"]
  77. === Geo Distance Filter
  78. The `geo_distance` filter has been replaced by the <<query-dsl-geo-distance-query>>.
  79. It behaves as a query in ``query context'' and as a filter in ``filter
  80. context'' (see <<query-dsl>>).
  81. [role="exclude",id="query-dsl-geo-distance-range-filter"]
  82. === Geo Distance Range Filter
  83. The `geo_distance_range` filter has been replaced by the <<query-dsl-geo-distance-range-query>>.
  84. It behaves as a query in ``query context'' and as a filter in ``filter
  85. context'' (see <<query-dsl>>).
  86. [role="exclude",id="query-dsl-geo-polygon-filter"]
  87. === Geo Polygon Filter
  88. The `geo_polygon` filter has been replaced by the <<query-dsl-geo-polygon-query>>.
  89. It behaves as a query in ``query context'' and as a filter in ``filter
  90. context'' (see <<query-dsl>>).
  91. [role="exclude",id="query-dsl-geo-shape-filter"]
  92. === Geo Shape Filter
  93. The `geo_shape` filter has been replaced by the <<query-dsl-geo-shape-query>>.
  94. It behaves as a query in ``query context'' and as a filter in ``filter
  95. context'' (see <<query-dsl>>).
  96. [role="exclude",id="query-dsl-has-child-filter"]
  97. === Has Child Filter
  98. The `has_child` filter has been replaced by the <<query-dsl-has-child-query>>. It behaves
  99. as a query in ``query context'' and as a filter in ``filter context'' (see
  100. <<query-dsl>>).
  101. [role="exclude",id="query-dsl-has-parent-filter"]
  102. === Has Parent Filter
  103. The `has_parent` filter has been replaced by the <<query-dsl-has-parent-query>>. It behaves
  104. as a query in ``query context'' and as a filter in ``filter context'' (see
  105. <<query-dsl>>).
  106. [role="exclude",id="query-dsl-top-children-query"]
  107. === Top Children Query
  108. The `top_children` query has been removed. Use the <<query-dsl-has-child-query>> instead.
  109. [role="exclude",id="query-dsl-ids-filter"]
  110. === IDs Filter
  111. The `ids` filter has been replaced by the <<query-dsl-ids-query>>. It behaves
  112. as a query in ``query context'' and as a filter in ``filter context'' (see
  113. <<query-dsl>>).
  114. [role="exclude",id="query-dsl-indices-filter"]
  115. === Indices Filter
  116. The `indices` filter has been replaced by the <<query-dsl-indices-query>>. It behaves
  117. as a query in ``query context'' and as a filter in ``filter context'' (see
  118. <<query-dsl>>).
  119. [role="exclude",id="query-dsl-match-all-filter"]
  120. === Match All Filter
  121. The `match_all` filter has been replaced by the <<query-dsl-match-all-query>>. It behaves
  122. as a query in ``query context'' and as a filter in ``filter context'' (see
  123. <<query-dsl>>).
  124. [role="exclude",id="query-dsl-nested-filter"]
  125. === Nested Filter
  126. The `nested` filter has been replaced by the <<query-dsl-nested-query>>. It behaves
  127. as a query in ``query context'' and as a filter in ``filter context'' (see
  128. <<query-dsl>>).
  129. [role="exclude",id="query-dsl-prefix-filter"]
  130. === Prefix Filter
  131. The `prefix` filter has been replaced by the <<query-dsl-prefix-query>>. It behaves
  132. as a query in ``query context'' and as a filter in ``filter context'' (see
  133. <<query-dsl>>).
  134. [role="exclude",id="query-dsl-query-filter"]
  135. === Query Filter
  136. The `query` filter has been removed as queries and filters have been merged (see
  137. <<query-dsl>>).
  138. [role="exclude",id="query-dsl-range-filter"]
  139. === Range Filter
  140. The `range` filter has been replaced by the <<query-dsl-range-query>>. It behaves
  141. as a query in ``query context'' and as a filter in ``filter context'' (see
  142. <<query-dsl>>).
  143. [role="exclude",id="query-dsl-regexp-filter"]
  144. === Regexp Filter
  145. The `regexp` filter has been replaced by the <<query-dsl-regexp-query>>. It behaves
  146. as a query in ``query context'' and as a filter in ``filter context'' (see
  147. <<query-dsl>>).
  148. [role="exclude",id="query-dsl-script-filter"]
  149. === Script Filter
  150. The `script` filter has been replaced by the <<query-dsl-script-query>>. It behaves
  151. as a query in ``query context'' and as a filter in ``filter context'' (see
  152. <<query-dsl>>).
  153. [role="exclude",id="query-dsl-term-filter"]
  154. === Term Filter
  155. The `term` filter has been replaced by the <<query-dsl-term-query>>. It behaves
  156. as a query in ``query context'' and as a filter in ``filter context'' (see
  157. <<query-dsl>>).
  158. [role="exclude",id="query-dsl-terms-filter"]
  159. === Terms Filter
  160. The `terms` filter has been replaced by the <<query-dsl-terms-query>>. It behaves
  161. as a query in ``query context'' and as a filter in ``filter context'' (see
  162. <<query-dsl>>).
  163. [role="exclude",id="query-dsl-type-filter"]
  164. === Type Filter
  165. The `type` filter has been replaced by the <<query-dsl-type-query>>. It behaves
  166. as a query in ``query context'' and as a filter in ``filter context'' (see
  167. <<query-dsl>>).
  168. [role="exclude",id="query-dsl-flt-query"]
  169. === Fuzzy Like This Query
  170. The `fuzzy_like_this` or `flt` query has been removed. Instead use
  171. the <<query-dsl-match-query-fuzziness,`fuzziness`>> parameter with the
  172. <<query-dsl-match-query,`match` query>> or the <<query-dsl-mlt-query>>.
  173. [role="exclude",id="query-dsl-flt-field-query"]
  174. === Fuzzy Like This Field Query
  175. The `fuzzy_like_this_field` or `flt_field` query has been removed. Instead use
  176. the <<query-dsl-match-query-fuzziness,`fuzziness`>> parameter with the
  177. <<query-dsl-match-query,`match` query>> or the <<query-dsl-mlt-query>>.
  178. [role="exclude",id="query-dsl-geohash-cell-query"]
  179. === Geohash Cell Query
  180. The `geohash_cell` query has been removed. Instead use the
  181. <<query-dsl-geo-bounding-box-query, Geo Bounding Box Query>>.
  182. [role="exclude",id="search-more-like-this"]
  183. === More Like This API
  184. The More Like This API has been removed. Instead, use the <<query-dsl-mlt-query>>.
  185. // FACETS
  186. [role="exclude",id="search-facets"]
  187. === Facets
  188. Faceted search refers to a way to explore large amounts of data by displaying
  189. summaries about various partitions of the data and later allowing to narrow
  190. the navigation to a specific partition.
  191. In Elasticsearch, `facets` are also the name of a feature that allowed to
  192. compute these summaries. `facets` have been replaced by
  193. <<search-aggregations, aggregations>> in Elasticsearch 1.0, which are a superset
  194. of facets.
  195. [role="exclude",id="search-facets-filter-facet"]
  196. === Filter Facet
  197. Facets have been removed. Use the
  198. <<search-aggregations-bucket-filter-aggregation,`filter` aggregation>> or
  199. <<search-aggregations-bucket-filters-aggregation,`filters` aggregation>> instead.
  200. [role="exclude",id="search-facets-query-facet"]
  201. === Query Facet
  202. Facets have been removed. Use the
  203. <<search-aggregations-bucket-filter-aggregation,`filter` aggregation>> or
  204. <<search-aggregations-bucket-filters-aggregation,`filters` aggregation>> instead.
  205. [role="exclude",id="search-facets-geo-distance-facet"]
  206. === Geo Distance Facet
  207. Facets have been removed. Use the
  208. <<search-aggregations-bucket-geodistance-aggregation,`geo_distance` aggregation>> instead.
  209. [role="exclude",id="search-facets-histogram-facet"]
  210. === Histogram Facet
  211. Facets have been removed. Use the
  212. <<search-aggregations-bucket-histogram-aggregation,`histogram` aggregation>> instead.
  213. [role="exclude",id="search-facets-date-histogram-facet"]
  214. === Date Histogram Facet
  215. Facets have been removed. Use the
  216. <<search-aggregations-bucket-datehistogram-aggregation,`date_histogram` aggregation>> instead.
  217. [role="exclude",id="search-facets-range-facet"]
  218. === Range Facet
  219. Facets have been removed. Use the
  220. <<search-aggregations-bucket-range-aggregation,`range` aggregation>> instead.
  221. [role="exclude",id="search-facets-terms-facet"]
  222. === Terms Facet
  223. Facets have been removed. Use the
  224. <<search-aggregations-bucket-terms-aggregation,`terms` aggregation>> instead.
  225. [role="exclude",id="search-facets-terms-statistical-facet"]
  226. === Terms Stats Facet
  227. Facets have been removed. Use the
  228. <<search-aggregations-bucket-terms-aggregation,`terms` aggregation>>
  229. with the <<search-aggregations-metrics-stats-aggregation,`stats` aggregation>>
  230. or the <<search-aggregations-metrics-extendedstats-aggregation,`extended_stats` aggregation>>
  231. instead.
  232. [role="exclude",id="search-facets-statistical-facet"]
  233. === Statistical Facet
  234. Facets have been removed. Use the
  235. <<search-aggregations-metrics-stats-aggregation,`stats` aggregation>>
  236. or the <<search-aggregations-metrics-extendedstats-aggregation,`extended_stats` aggregation>> instead.
  237. [role="exclude",id="search-facets-migrating-to-aggs"]
  238. === Migrating from facets to aggregations
  239. Facets have been removed. Use <<search-aggregations>> instead.
  240. // CACHES
  241. [role="exclude",id="shard-query-cache"]
  242. === Shard request cache
  243. The shard query cache has been renamed <<shard-request-cache>>.
  244. [role="exclude",id="filter-cache"]
  245. === Query cache
  246. The filter cache has been renamed <<query-cache>>.
  247. [role="exclude",id="query-dsl-filtered-query"]
  248. === Filtered query
  249. The `filtered` query is replaced by the <<query-dsl-bool-query,bool>> query. Instead of
  250. the following:
  251. [source,js]
  252. -------------------------
  253. GET _search
  254. {
  255. "query": {
  256. "filtered": {
  257. "query": {
  258. "match": {
  259. "text": "quick brown fox"
  260. }
  261. },
  262. "filter": {
  263. "term": {
  264. "status": "published"
  265. }
  266. }
  267. }
  268. }
  269. }
  270. -------------------------
  271. // NOTCONSOLE
  272. move the query and filter to the `must` and `filter` parameters in the `bool`
  273. query:
  274. [source,js]
  275. -------------------------
  276. GET _search
  277. {
  278. "query": {
  279. "bool": {
  280. "must": {
  281. "match": {
  282. "text": "quick brown fox"
  283. }
  284. },
  285. "filter": {
  286. "term": {
  287. "status": "published"
  288. }
  289. }
  290. }
  291. }
  292. }
  293. -------------------------
  294. // CONSOLE
  295. [role="exclude",id="query-dsl-or-query"]
  296. === Or query
  297. The `or` query is replaced in favour of the <<query-dsl-bool-query,bool>> query.
  298. [role="exclude",id="query-dsl-or-filter"]
  299. === Or filter
  300. The `or` filter is replaced in favour of the <<query-dsl-bool-query,bool>> query.
  301. [role="exclude",id="query-dsl-and-query"]
  302. === And query
  303. The `and` query is replaced in favour of the <<query-dsl-bool-query,bool>> query.
  304. [role="exclude",id="query-dsl-and-filter"]
  305. === And filter
  306. The `and` filter is replaced in favour of the <<query-dsl-bool-query,bool>> query.
  307. [role="exclude",id="query-dsl-limit-query"]
  308. === Limit query
  309. The `limit` query is replaced in favour of the <<search-request-body,terminate_after>>
  310. parameter of search requests.
  311. [role="exclude",id="query-dsl-limit-filter"]
  312. === Limit filter
  313. The `limit` filter is replaced in favour of the <<search-request-body,terminate_after>>
  314. parameter of search requests.
  315. [role="exclude",id="query-dsl-not-query"]
  316. === Not query
  317. The `not` query has been replaced by using a `mustNot` clause in a Boolean query.
  318. [role="exclude",id="mapping-nested-type"]
  319. === Nested type
  320. The docs for the `nested` field datatype have moved to <<nested>>.
  321. [role="exclude",id="indices-warmers"]
  322. === Warmers
  323. Warmers have been removed. There have been significant improvements to the
  324. index that make warmers not necessary anymore.
  325. [role="exclude",id="index-boost"]
  326. === Index time boosting
  327. The index time boost mapping has been replaced with query time boost (see <<mapping-boost>>).