Skip to content

Commit 822f3ae

Browse files
update text and deprecations message
1 parent 758bc71 commit 822f3ae

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,11 @@ label:functionality[]
3131
label:deprecated[]
3232
[source, cypher, role="noheader"]
3333
----
34-
CREATE VECTOR INDEX vector_index IF NOT EXISTS
35-
FOR (n:Label)
36-
ON n.embedding
37-
OPTIONS {
38-
indexProvider: 'vector-1.0'
39-
}
34+
CREATE ... INDEX ... OPTIONS { indexProvider: ... }
35+
CREATE ... CONSTRAINTS ... OPTIONS { indexProvider: ... }
4036
----
37+
| Specifying an index provider in the `OPTIONS` map when creating an index or constraint is deprecated.
4138

42-
| Specifying an index provider in the `OPTIONS` map when creating an index is deprecated.
4339
This also means that the xref:indexes/semantic-indexes/vector-indexes.adoc[vector index] index provider, `vector-1.0`, is deprecated.
4440
Use the default index provider, `vector-2.0`, instead.
4541

modules/ROOT/pages/indexes/search-performance-indexes/managing-indexes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ As of Neo4j 5.17, an informational notification is instead returned.
214214
Creating a text index can be done with the `CREATE TEXT INDEX` command.
215215
Note that the index name must be unique.
216216

217-
Text indexes have no supported index configuration.
217+
Text indexes have no supported index configuration and, as of Neo4j 5.1, they have two index providers available, `text-2.0` (default) and `text-1.0` (deprecated).
218218

219219
[[text-indexes-supported-predicates]]
220220
[discrete]

0 commit comments

Comments
 (0)