redirects.asciidoc 14 KB

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