Skip to content

Commit 29eba9a

Browse files
committed
[DOCS] Add text_expansion deprecation usage note (#115529)
(cherry picked from commit 6980fc6)
1 parent b1489c5 commit 29eba9a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/reference/query-dsl/text-expansion-query.asciidoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77

88
deprecated[8.15.0, This query has been replaced by <<query-dsl-sparse-vector-query>>.]
99

10+
.Deprecation usage note
11+
****
12+
You can continue using `rank_features` fields with `text_expansion` queries in the current version.
13+
However, if you plan to upgrade, we recommend updating mappings to use the `sparse_vector` field type and <<docs-reindex,reindexing your data>>.
14+
This will allow you to take advantage of the new capabilities and improvements available in newer versions.
15+
****
16+
1017
The text expansion query uses a {nlp} model to convert the query text into a list of token-weight pairs which are then used in a query against a
1118
<<sparse-vector,sparse vector>> or <<rank-features,rank features>> field.
1219

0 commit comments

Comments
 (0)