You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/clauses/call.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,7 +208,7 @@ RETURN count(*) AS results
208
208
`YIELD` can be used to filter for specific results.
209
209
This requires knowing the names of the arguments within a procedure's signature, which can either be found in the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/[Operations Manual -> Procedures] or in the `signature` column returned by a `SHOW PROCEDURES` command (see example below).
@@ -122,14 +122,14 @@ This result only shows the first 4 of the 1536 numbers in the embedding.
122
122
[[multiple-embeddings]]
123
123
== Generating a batch of embeddings and store them
124
124
125
-
Use the `genai.vector.encodeBatch` procedure to generate many vector embeddings with a single API request.
125
+
Use the `genai.vector.encodeBatch()` procedure to generate many vector embeddings with a single API request.
126
126
This procedure takes a list of resources as an input, and returns the same number of result rows, instead of a single one.
127
127
128
128
[NOTE]
129
129
This procedure attempts to generate embeddings for all supplied resources in a single API request.
130
130
Therefore, it is recommended to see the respective provider's documentation for details on, for example, the maximum number of embeddings that can be generated per request.
131
131
132
-
.Signature for `genai.vector.encodeBatch` label:procedure[]
132
+
.Signature for `genai.vector.encodeBatch()` label:procedure[]
<1> xref:functions/aggregating.adoc#functions-collect[Collect] all 20 `Movie` nodes into a `LIST<NODE>`.
168
168
<2> Use a xref:expressions/list-expressions.adoc#list-comprehension[list comprehension] (`[]`) to extract the `title` and `plot` properties of the movies in `moviesList` into a new `LIST<STRING>`.
169
-
<3> `db.create.setNodeVectorProperty` is run for each `vector` returned by `genai.vector.encodeBatch`, and stores that vector as a property named `embedding` on the corresponding node.
169
+
<3> `db.create.setNodeVectorProperty()` is run for each `vector` returned by `genai.vector.encodeBatch()`, and stores that vector as a property named `embedding` on the corresponding node.
170
170
====
171
171
172
172
.Create embeddings from a large number of properties and store them
@@ -208,7 +208,7 @@ For an alternative method more suitable to processing large amounts of data, see
208
208
== GenAI providers
209
209
210
210
The following GenAI providers are supported for generating vector embeddings.
211
-
Each provider has its own configuration map that can be passed to `genai.vector.encode` or `genai.vector.encodeBatch`.
211
+
Each provider has its own configuration map that can be passed to `genai.vector.encode()` or `genai.vector.encodeBatch()`.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/indexes/semantic-indexes/full-text-indexes.adoc
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ OPTIONS {
124
124
125
125
<1> The `fulltext.analyzer` setting can be used to configure an index-specific analyzer.
126
126
In this case, it is set to the `english` analyzer.
127
-
The possible values for the `fulltext.analyzer` setting can be listed with the `db.index.fulltext.listAvailableAnalyzers` procedure.
127
+
The possible values for the `fulltext.analyzer` setting can be listed with the `db.index.fulltext.listAvailableAnalyzers()` procedure.
128
128
<2> The `fulltext.eventually_consistent` setting, if set to `true`, will put the index in an _eventually consistent_ update mode.
129
129
This means that updates will be applied in a background thread "as soon as possible", instead of during a transaction commit, which is true for other indexes.
130
130
@@ -134,13 +134,13 @@ For more information on how to configure full-text indexes, refer to the link:{n
134
134
== Query full-text indexes
135
135
136
136
Unlike xref:indexes/search-performance-indexes/managing-indexes.adoc[search-performance indexes], full-text indexes are not automatically used by the xref:planning-and-tuning/execution-plans.adoc[Cypher query planner].
137
-
To query a full-text index, use either the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_fulltext_queryNodes[`db.index.fulltext.queryNodes`] or the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_fulltext_queryRelationships[`db.index.fulltext.queryRelationships`] procedure.
137
+
To query a full-text index, use either the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_fulltext_queryNodes[`db.index.fulltext.queryNodes()`] or the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_fulltext_queryRelationships[`db.index.fulltext.queryRelationships()`] procedure.
138
138
139
139
[NOTE]
140
140
An index cannot be used while its `state` is `POPULATING`, which occurs immediately after it is created.
141
141
To check the `state` of a full-text index -- whether it is `ONLINE` (usable) or `POPULATING` (still being built; the `populationPercent` column shows the progress of the index creation) -- run the following command: `SHOW FULLTEXT INDEXES`.
142
142
143
-
This query uses the `db.index.fulltext.queryNodes` to look for `nils` in the previously created full-text index `namesAndTeams`:
143
+
This query uses the `db.index.fulltext.queryNodes()` procedure to look for `nils` in the previously created full-text index `namesAndTeams`:
144
144
145
145
.Query a full-text index for a node property
146
146
[source, cypher]
@@ -172,7 +172,7 @@ This is possible because both the property values that are indexed, and the quer
172
172
173
173
The `score` results are always returned in _descending score order_, where the best matching result entry is put first.
174
174
175
-
This query uses the `db.index.fulltext.queryRelationships` to query the previously created `communications` full-text index for any `message` containing "meeting":
175
+
This query uses the `db.index.fulltext.queryRelationships()` procedure to query the previously created `communications` full-text index for any `message` containing "meeting":
176
176
177
177
.Query a full-text index for a relationship property
178
178
[source, cypher]
@@ -362,19 +362,19 @@ The procedures for full-text indexes are listed in the table below:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/indexes/semantic-indexes/vector-indexes.adoc
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -180,13 +180,13 @@ Default value::: `100`
180
180
[[query-vector-index]]
181
181
== Query vector indexes
182
182
183
-
To query a node vector index, use the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryNodes[`db.index.vector.queryNodes`] procedure.
183
+
To query a node vector index, use the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryNodes[`db.index.vector.queryNodes()`] procedure.
184
184
185
185
[NOTE]
186
186
An index cannot be used while its `state` is `POPULATING`, which occurs immediately after it is created.
187
187
To check the `state` of a vector index -- whether it is `ONLINE` (usable) or `POPULATING` (still being built; the `populationPercent` column shows the progress of the index creation) -- run the following command: `SHOW VECTOR INDEXES`.
@@ -228,13 +228,13 @@ If the query vector itself is not wanted, adding the predicate `WHERE score < 1`
228
228
229
229
To query a relationship vector index, use the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryRelationships[`db.index.vector.queryRelationships`] procedure.
230
230
231
-
.Signature for `db.index.vector.queryRelationships`
231
+
.Signature for `db.index.vector.queryRelationships()`
| Update a given node property with the given vector in a more space-efficient way than directly using xref:clauses/set.adoc#set-set-a-property[`SET`].
| Update a given relationship property with the given vector in a more space-efficient way than directly using xref:clauses/set.adoc#set-set-a-property[`SET`].
490
490
491
491
|===
@@ -514,7 +514,7 @@ The following table lists the issues and, if fixed, the version in which they we
514
514
|===
515
515
| Known issues | Fixed in
516
516
517
-
| The creation of a vector index using the legacy procedure link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_createNodeIndex[`db.index.vector.createNodeIndex`] may fail with an error in Neo4j 5.18 and later if the database was last written to with a version prior to Neo4j 5.11, and the legacy procedure is the first write operation used on the newer version.
517
+
| The creation of a vector index using the legacy procedure link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_createNodeIndex[`db.index.vector.createNodeIndex()`] may fail with an error in Neo4j 5.18 and later if the database was last written to with a version prior to Neo4j 5.11, and the legacy procedure is the first write operation used on the newer version.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/indexes/syntax.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,7 @@ ON EACH “[“ r.propertyName[, ...] “]”
177
177
178
178
The following settings can be specified for full-text indexes:
179
179
180
-
* `fulltext.analyzer` - specifies what analyzer to use (the `db.index.fulltext.listAvailableAnalyzers` procedure lists what analyzers are available).
180
+
* `fulltext.analyzer` - specifies what analyzer to use (the `db.index.fulltext.listAvailableAnalyzers()` procedure lists what analyzers are available).
181
181
* `fulltext.eventually_consistent` - specifies whether a full-text index is eventually consistent.
182
182
If set to `true`, it will ensure that updates from committing transactions are applied in a background thread.
183
183
@@ -250,13 +250,13 @@ To use them, specific procedures must be called. Their signatures can be seen be
250
250
[[query-full-text-index]]
251
251
=== Full-text indexes
252
252
253
-
.Query full-text index on nodes: db.index.fulltext.queryNodes
253
+
.Query full-text index on nodes: db.index.fulltext.queryNodes()
0 commit comments