Skip to content

Commit c6394ca

Browse files
Remove option to create indexes/constraints with index provider (#1304)
1 parent cb781a1 commit c6394ca

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,16 @@ MERGE (a {foo:1})-[:T]->(b {foo:a.foo})
109109
a|
110110
It is no longer possible to specify a property of one entity (node or relationship) by referring to another entity’s property within the same `MERGE` clause.
111111

112+
a|
113+
label:functionality[]
114+
label:removed[]
115+
[source, cypher, role="noheader"]
116+
----
117+
CREATE ... INDEX ... OPTIONS { indexProvider: ... }
118+
CREATE ... CONSTRAINTS ... OPTIONS { indexProvider: ... }
119+
----
120+
| Specifying an index provider in the `OPTIONS` map when creating an index or constraint is no longer supported.
121+
112122
|===
113123

114124

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,9 @@ Instad an informational notification is 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 and they have two index providers available, `text-2.0` (default -- see xref:indexes/search-performance-indexes/managing-indexes.adoc#text-indexes-trigram-indexes[Trigram indexing] below for more information) and `text-1.0` (deprecated).
217+
Text indexes have no supported index configuration.
218+
219+
See xref:indexes/search-performance-indexes/managing-indexes.adoc#text-indexes-trigram-indexes[Trigram indexing] for information about how text indexes process `STRING` values.
218220

219221
[[text-indexes-supported-predicates]]
220222
[discrete]
@@ -287,7 +289,7 @@ Text indexes are only used for exact query matches. To perform approximate match
287289
[[text-indexes-trigram-indexes]]
288290
==== Trigram indexing
289291

290-
The default text index provider, `text-2.0`, uses trigram indexing.
292+
Text indexes uses trigram indexing.
291293
This means that `STRING` values are indexed into overlapping trigrams, each containing three Unicode code points.
292294
For example, the word `"developer"` would be indexed by the following trigrams: `["dev", "eve", "vel", "elo", "lop", "ope", "per"]`.
293295

modules/ROOT/pages/indexes/semantic-indexes/vector-indexes.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ A vector index allows you to retrieve a neighborhood of nodes or relationships b
6868

6969
A vector index is a single-label, single-property index for nodes or a single-relationship-type, single-property index for relationships.
7070
It can be used to index nodes or relationships by `LIST<INTEGER | FLOAT>` properties valid to the dimensions and vector similarity function of the index.
71-
Note that the available vector index providers (`vector-2.0` (default) and `vector-1.0` (deprecated)) support different index schemas, property value types, and vector dimensions.
72-
For more information, see xref:indexes/semantic-indexes/vector-indexes.adoc#vector-index-providers[].
7371

7472
A vector index is created by using the `CREATE VECTOR INDEX [index_name]` command.
7573
It is recommended to give the index a name when it is created.
@@ -347,10 +345,8 @@ DROP INDEX moviePlots
347345
[[vector-index-providers]]
348346
== Vector index providers for compatibility
349347

350-
As of Neo4j 5.18, the default index provider is `vector-2.0`.
351-
As of Neo4j 5.26, it is no longer possible to specify an index provider when creating indexes.
352-
Instead, Neo4j selects the most performant provider (currently `vector-2.0`).
353-
348+
It is not possible to specify an index provider when creating indexes in Cypher 25.
349+
Instead, Neo4j selects the most performant provider (currently `vector-2.0` for vector indexes).
354350
Previously created `vector-1.0` indexes will continue to function.
355351

356352
.Learn more about vector index provider differences
@@ -381,6 +377,10 @@ Single-type, single-property index for relationships.
381377
| `INTEGER` between `1` and `2048` _inclusive_.
382378
| `INTEGER` between `1` and `4096` _inclusive_.
383379
380+
| Indexed vector quantization and hnsw settings
381+
| No support.
382+
| Supported.
383+
384384
| xref:indexes/semantic-indexes/vector-indexes.adoc#similarity-functions[Cosine similarity vector validity]
385385
| All vector components can be represented finitely in IEEE 754 *_single_* precision.
386386

0 commit comments

Comments
 (0)