# \#procedure

**URL:** https://community.neo4j.com/tag/procedure/142.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Does standard-folding analyzer in Neo4j perform stemming like the english analyzer?](https://community.neo4j.com/t/does-standard-folding-analyzer-in-neo4j-perform-stemming-like-the-english-analyzer/74291)

<div class="topic-metadata">

**Author:** [@k.giantsios](https://community.neo4j.com/u/k.giantsios)\
**Replies:** 2\
**Last updated:** [June 24, 2025, 1:02pm UTC](https://community.neo4j.com/t/does-standard-folding-analyzer-in-neo4j-perform-stemming-like-the-english-analyzer/74291 "2025-06-24T13:02:40Z")

</div>

I'm using Neo4j's full-text indexes and trying to decide between analyzers for indexing full names that may or may not include diacritics. I came across the standard-folding analyzer, and the documentation says: "An an…

---

## [Can non-thread-safe procedures use in multiple thread client side?](https://community.neo4j.com/t/can-non-thread-safe-procedures-use-in-multiple-thread-client-side/72521)

<div class="topic-metadata">

**Author:** [@abccbaandy](https://community.neo4j.com/u/abccbaandy)\
**Replies:** 0\
**Last updated:** [February 4, 2025, 5:54am UTC](https://community.neo4j.com/t/can-non-thread-safe-procedures-use-in-multiple-thread-client-side/72521 "2025-02-04T05:54:09Z")

</div>

In the procedures document, sometimes it has a warning about thread-safe. Ex: This procedure is not considered safe to run from multiple threads. It is therefore not supported by the parallel runtime (introduced in Ne…

---

## [Neo4j procedure: Relationship property missing in multi-threaded graph traversal](https://community.neo4j.com/t/neo4j-procedure-relationship-property-missing-in-multi-threaded-graph-traversal/69481)

<div class="topic-metadata">

**Author:** [@Wenzel](https://community.neo4j.com/u/Wenzel)\
**Replies:** 8\
**Last updated:** [September 1, 2024, 9:33pm UTC](https://community.neo4j.com/t/neo4j-procedure-relationship-property-missing-in-multi-threaded-graph-traversal/69481 "2024-09-01T21:33:50Z")

</div>

Hi ! I'm currently working on a custom Neo4j procedure to perform a specialized graph traversal that's not feasible with standard Cypher queries. To optimize performance, I've implemented a multi-threaded solution using…

---

## [Retrieving errors from runMany](https://community.neo4j.com/t/retrieving-errors-from-runmany/68175)

<div class="topic-metadata">

**Author:** [@Tak1za](https://community.neo4j.com/u/Tak1za)\
**Replies:** 5\
**Last updated:** [May 30, 2024, 7:33pm UTC](https://community.neo4j.com/t/retrieving-errors-from-runmany/68175 "2024-05-30T19:33:14Z")

</div>

Is there a way I can retrieve the errors during a apoc.cypher.runMany call? I have certain constraint set in my database: create constraint Test\_unique for (test:Test) require test.id is UNIQUE Then I am running a run…

---

## [How many user defined procedures can be created? Is it scalable to have 6000+ such procedures?](https://community.neo4j.com/t/how-many-user-defined-procedures-can-be-created-is-it-scalable-to-have-6000-such-procedures/67532)

<div class="topic-metadata">

**Author:** [@ashish\_abhishek](https://community.neo4j.com/u/ashish_abhishek)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 6:42am UTC](https://community.neo4j.com/t/how-many-user-defined-procedures-can-be-created-is-it-scalable-to-have-6000-such-procedures/67532 "2024-04-24T06:42:43Z")

</div>

Is Neo4j scalable to allow addition of huge number of procedures? I wanted to utilize it as rules which can auto populate relationships.

---

## [Getting org.neo4j.kernel.api.exceptions.ComponentInjectionException](https://community.neo4j.com/t/getting-org-neo4j-kernel-api-exceptions-componentinjectionexception/64906)

<div class="topic-metadata">

**Author:** [@siba.mishra](https://community.neo4j.com/u/siba.mishra)\
**Replies:** 0\
**Last updated:** [November 9, 2023, 7:23am UTC](https://community.neo4j.com/t/getting-org-neo4j-kernel-api-exceptions-componentinjectionexception/64906 "2023-11-09T07:23:27Z")

</div>

I am migrating to Neo4j 5.5.0. I have added the following dependencies to my gradle project. testImplementation(group: 'org.neo4j.test', name: 'neo4j-harness', version: "$neo4j\_Version") testImplementation group: 'org.…

---

## [Neo4j home for embedded servers](https://community.neo4j.com/t/neo4j-home-for-embedded-servers/62062)

<div class="topic-metadata">

**Author:** [@olofdar1](https://community.neo4j.com/u/olofdar1)\
**Replies:** 0\
**Last updated:** [April 15, 2023, 3:23pm UTC](https://community.neo4j.com/t/neo4j-home-for-embedded-servers/62062 "2023-04-15T15:23:22Z")

</div>

Hello, I can't seem to find neo4j home for my embedded community edition neo4j 5.5.0 server. I need it to add my plugin jar with my user defined procedures. This is my current java code. DatabaseManagementServiceBuilde…

---

## [Can we use an apoc procedure within a custom user defined procedure?](https://community.neo4j.com/t/can-we-use-an-apoc-procedure-within-a-custom-user-defined-procedure/62005)

<div class="topic-metadata">

**Author:** [@aman.negi](https://community.neo4j.com/u/aman.negi)\
**Replies:** 3\
**Last updated:** [April 13, 2023, 3:55am UTC](https://community.neo4j.com/t/can-we-use-an-apoc-procedure-within-a-custom-user-defined-procedure/62005 "2023-04-13T03:55:20Z")

</div>

hey community, I wanted to ask that can we use apoc procedures inside a custom defined procedure. I have the following situation : CALL apoc.custom.declareProcedure('familyTree(app\_num::STRING) :: (tree::ANY)', ' MA…

---

## ["Call in transactions" subquery with APOC is working but Calling Custom procedure and using "Call in transactions" resulted in Exception. "Expected transaction state to be empty when calling transactional subquery. (Transactions committed: 0)"](https://community.neo4j.com/t/call-in-transactions-subquery-with-apoc-is-working-but-calling-custom-procedure-and-using-call-in-transactions-resulted-in-exception-expected-transaction-state-to-be-empty-when-calling-transactional-subquery-transactions-committed-0/61268)

<div class="topic-metadata">

**Author:** [@aravind.kumar](https://community.neo4j.com/u/aravind.kumar)\
**Replies:** 0\
**Last updated:** [March 6, 2023, 7:59am UTC](https://community.neo4j.com/t/call-in-transactions-subquery-with-apoc-is-working-but-calling-custom-procedure-and-using-call-in-transactions-resulted-in-exception-expected-transaction-state-to-be-empty-when-calling-transactional-subquery-transactions-committed-0/61268 "2023-03-06T07:59:36Z")

</div>

Hi Team, i have run the apoc procedure with call in transactions working fine. below is the Query :auto match (ent:EntityDefinitions{entityName : "T\_PROCESS"})-\[:hasEntityRecord\]-\>(rec:EntityRecord) with rec,ent limit…

---

## [Problem in updating a custom procedure in causal cluster](https://community.neo4j.com/t/problem-in-updating-a-custom-procedure-in-causal-cluster/58352)

<div class="topic-metadata">

**Author:** [@Alessandro1](https://community.neo4j.com/u/Alessandro1)\
**Replies:** 2\
**Last updated:** [January 13, 2023, 1:29pm UTC](https://community.neo4j.com/t/problem-in-updating-a-custom-procedure-in-causal-cluster/58352 "2023-01-13T13:29:28Z")

</div>

Hello, as in the subject, I have an issue when I try to modify an existing procedure. For instance, if I register a new procedure with an error, just like the following one: CALL apoc.custom.asProcedure('TrialProcedur…

---

## [Advice Needed: Pregel Procedure Testing](https://community.neo4j.com/t/advice-needed-pregel-procedure-testing/51040)

<div class="topic-metadata">

**Author:** [@adamggibbs](https://community.neo4j.com/u/adamggibbs)\
**Replies:** 1\
**Last updated:** [April 19, 2022, 11:39pm UTC](https://community.neo4j.com/t/advice-needed-pregel-procedure-testing/51040 "2022-04-19T23:39:43Z")

</div>

Hello, I'm a student who is looking to implement a graph algorithm using Pregel for a research project. Searching the internet I found the Neo4j Pregel API which I've started playing around with. However, I'm struggling…

---

## [Call YIELD function not working - Unknown procedure output](https://community.neo4j.com/t/call-yield-function-not-working-unknown-procedure-output/52557)

<div class="topic-metadata">

**Author:** [@Papyrus2900bc](https://community.neo4j.com/u/Papyrus2900bc)\
**Replies:** 3\
**Last updated:** [February 26, 2022, 12:12pm UTC](https://community.neo4j.com/t/call-yield-function-not-working-unknown-procedure-output/52557 "2022-02-26T12:12:17Z")

</div>

I'm trying to understand set multiple properties function But an error always pops up \*Unknown procedure output: \`nodes\` (line 4, column 7 (offset: 135))\* \*"YIELD nodes"\* Here's the syntax MATCH (x:AccountHolder) WIT…

---

## [Deploying a transaction event listener in a Desktop installation](https://community.neo4j.com/t/deploying-a-transaction-event-listener-in-a-desktop-installation/50430)

<div class="topic-metadata">

**Author:** [@AlbertGevorgyan](https://community.neo4j.com/u/AlbertGevorgyan)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 2:48pm UTC](https://community.neo4j.com/t/deploying-a-transaction-event-listener-in-a-desktop-installation/50430 "2022-01-14T14:48:20Z")

</div>

I have created a project that contains an ExtensionFactory subclass annotated as @ServiceProvider that returns a LifecycleAdapter subclass which registers a transaction event listener in its start() method, as shown in t…

---

## [Read custom neo4j.conf settings from extension](https://community.neo4j.com/t/read-custom-neo4j-conf-settings-from-extension/49323)

<div class="topic-metadata">

**Author:** [@chrszrkl](https://community.neo4j.com/u/chrszrkl)\
**Replies:** 0\
**Last updated:** [December 21, 2021, 9:57am UTC](https://community.neo4j.com/t/read-custom-neo4j-conf-settings-from-extension/49323 "2021-12-21T09:57:50Z")

</div>

We authored a custom Transaction Listener Extension following this example. It's been packed and deployed as a plugin to a local Neo4j 4.2.1 instance. We also added a custom setting to the corresponding neo4j.conf confi…

---

## [Not able to run 'Stream' Procedures](https://community.neo4j.com/t/not-able-to-run-stream-procedures/39776)

<div class="topic-metadata">

**Author:** [@vikash.kumar3](https://community.neo4j.com/u/vikash.kumar3)\
**Replies:** 1\
**Last updated:** [June 24, 2021, 12:14am UTC](https://community.neo4j.com/t/not-able-to-run-stream-procedures/39776 "2021-06-24T00:14:54Z")

</div>

Hi Everyone, I am not able to run the "Stream" procedures and getting this error: Failed to invoke procedure \`streams.consume\`: Caused by: java.lang.NoSuchMethodError: 'java.io.File org.neo4j.io.layout.DatabaseLayout.d…

---

## [Possible to granularly iterate over or "walk" an index from a starting node?](https://community.neo4j.com/t/possible-to-granularly-iterate-over-or-walk-an-index-from-a-starting-node/37314)

<div class="topic-metadata">

**Author:** [@haniwalta](https://community.neo4j.com/u/haniwalta)\
**Replies:** 1\
**Last updated:** [April 23, 2021, 10:41pm UTC](https://community.neo4j.com/t/possible-to-granularly-iterate-over-or-walk-an-index-from-a-starting-node/37314 "2021-04-23T22:41:10Z")

</div>

Hello! I have tried googling this question in different ways and cannot find a definitive answer, although the functionality seems unlikely (from what I've found) but maybe possible(??). Q: In any of the Neo4j versions…

---

## [Help finding db.ping() procedure](https://community.neo4j.com/t/help-finding-db-ping-procedure/35560)

<div class="topic-metadata">

**Author:** [@matt.cloyd](https://community.neo4j.com/u/matt.cloyd)\
**Replies:** 3\
**Last updated:** [March 19, 2021, 9:47pm UTC](https://community.neo4j.com/t/help-finding-db-ping-procedure/35560 "2021-03-19T21:47:22Z")

</div>

Hey all, I've been trying to use the db.ping() procedure listed here as part of a health-check script to monitor my Neo4j 4.0.0 instance. The documentation says "The procedure is available in all databases and always…

---

## [Can I use cypher in a user defined procedure?](https://community.neo4j.com/t/can-i-use-cypher-in-a-user-defined-procedure/28353)

<div class="topic-metadata">

**Author:** [@peey](https://community.neo4j.com/u/peey)\
**Replies:** 11\
**Last updated:** [November 25, 2020, 5:10pm UTC](https://community.neo4j.com/t/can-i-use-cypher-in-a-user-defined-procedure/28353 "2020-11-25T17:10:38Z")

</div>

The page on user defined procedures and the example therein show how you can use the core API to define user-defined functions. Is it possible for me to invoke a cypher query within a user-define procedure, or am I limi…

---

## [Loading data to test harness](https://community.neo4j.com/t/loading-data-to-test-harness/27210)

<div class="topic-metadata">

**Author:** [@joe4](https://community.neo4j.com/u/joe4)\
**Replies:** 1\
**Last updated:** [October 15, 2020, 6:08pm UTC](https://community.neo4j.com/t/loading-data-to-test-harness/27210 "2020-10-15T18:08:37Z")

</div>

Hi guys. I'm trying to debug a user defined procedure using the test harness as described by Max De Marzi's blog. I'm struggling with adding test data to debug against. Does the test harness require the data fixture t…

---

## [V. 4.0 compatible tutorial for user-defined procedures and functions](https://community.neo4j.com/t/v-4-0-compatible-tutorial-for-user-defined-procedures-and-functions/17392)

<div class="topic-metadata">

**Author:** [@nielwestover](https://community.neo4j.com/u/nielwestover)\
**Replies:** 7\
**Last updated:** [July 22, 2020, 8:00am UTC](https://community.neo4j.com/t/v-4-0-compatible-tutorial-for-user-defined-procedures-and-functions/17392 "2020-07-22T08:00:07Z")

</div>

I'm new to Neo4j and jumping right in with v4.0. I would like to write a user-defined function that has READ access to the graph db. I followed the 3.5.x tutorial here. It doesn't appear this tutorial works out of the b…

---

## [Creating a basic node with label using user defined procedure](https://community.neo4j.com/t/creating-a-basic-node-with-label-using-user-defined-procedure/18102)

<div class="topic-metadata">

**Author:** [@pankajpahuja1](https://community.neo4j.com/u/pankajpahuja1)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 12:46pm UTC](https://community.neo4j.com/t/creating-a-basic-node-with-label-using-user-defined-procedure/18102 "2020-05-05T12:46:53Z")

</div>

The neo4j doc state that we can perform write operations on DB by User Defined Procedures using mode=mode.WRITE with this I have successfully implemented delete operation but for creating a node there is no sample docume…

---

## [Integration test for custom procedures using dbms.security](https://community.neo4j.com/t/integration-test-for-custom-procedures-using-dbms-security/17669)

<div class="topic-metadata">

**Author:** [@LampicJ15](https://community.neo4j.com/u/LampicJ15)\
**Replies:** 3\
**Last updated:** [April 29, 2020, 8:58am UTC](https://community.neo4j.com/t/integration-test-for-custom-procedures-using-dbms-security/17669 "2020-04-29T08:58:33Z")

</div>

Hey, I am writing a custom procedure which calls the procedure dbms.security.listUsers() (db.execute("CALL dbms.security.listUsers()")) but when I try to write an integration test for the procedure I get the following…

---

## [Difference between dbms and db procedures?](https://community.neo4j.com/t/difference-between-dbms-and-db-procedures/15219)

<div class="topic-metadata">

**Author:** [@mayanktripathi4](https://community.neo4j.com/u/mayanktripathi4)\
**Replies:** 1\
**Last updated:** [March 2, 2020, 12:58pm UTC](https://community.neo4j.com/t/difference-between-dbms-and-db-procedures/15219 "2020-03-02T12:58:51Z")

</div>

Hi Team, I just wondering why do we have the procedures some with dbms. and db. (for example CALL dbms.components() and CALL db.constraints() ), what is the difference between dbms and db. This may seems silly question…

---

## [Neo.ClientError.Procedure.ProcedureNotFound](https://community.neo4j.com/t/neo-clienterror-procedure-procedurenotfound/12331)

<div class="topic-metadata">

**Author:** [@bhuvnesh\_kumar](https://community.neo4j.com/u/bhuvnesh_kumar)\
**Replies:** 1\
**Last updated:** [November 29, 2019, 3:44pm UTC](https://community.neo4j.com/t/neo-clienterror-procedure-procedurenotfound/12331 "2019-11-29T15:44:18Z")

</div>

While executing algorithm I am getting this error - There is no procedure with the name algo.shortestPath registered for this database instance. Please ensure you've spelled the procedure name correctly and that the pro…

---

## [Transactions in custom procedures not rolling back on failure](https://community.neo4j.com/t/transactions-in-custom-procedures-not-rolling-back-on-failure/8609)

<div class="topic-metadata">

**Author:** [@cypher](https://community.neo4j.com/u/cypher)\
**Replies:** 3\
**Last updated:** [July 20, 2019, 9:15pm UTC](https://community.neo4j.com/t/transactions-in-custom-procedures-not-rolling-back-on-failure/8609 "2019-07-20T21:15:26Z")

</div>

Hello. Apologies if the question is trivial but I'm new with the platform. I'm writing custom Java procedures for Neo4j and I noticed that transactions marked as failure are not being rolled back. Here's a sample code: …

---

## [Sync Oracle & Neo4j](https://community.neo4j.com/t/sync-oracle-neo4j/8585)

<div class="topic-metadata">

**Author:** [@arashyousefi.work](https://community.neo4j.com/u/arashyousefi.work)\
**Replies:** 9\
**Last updated:** [July 9, 2019, 5:07am UTC](https://community.neo4j.com/t/sync-oracle-neo4j/8585 "2019-07-09T05:07:29Z")

</div>

Hi, how to sync data between Oracle and Neo4j ? first data goes to oracle and then it would send it to Neo4j. can it be done by a procedure or trigger or something like that ? i don't want to do it in the code... i wa…

---

## [Neo4j 3.5.x: It is not allowed to define functions in the root namespace](https://community.neo4j.com/t/neo4j-3-5-x-it-is-not-allowed-to-define-functions-in-the-root-namespace/8221)

<div class="topic-metadata">

**Author:** [@Jiropole](https://community.neo4j.com/u/Jiropole)\
**Replies:** 1\
**Last updated:** [June 20, 2019, 11:01pm UTC](https://community.neo4j.com/t/neo4j-3-5-x-it-is-not-allowed-to-define-functions-in-the-root-namespace/8221 "2019-06-20T23:01:27Z")

</div>

So, just upgrading from 3.4.x to 3.5.6. I had to rebuild our plugin, as it depends newer versions of other plugins. No other changes. Yet, I am getting the odd error: It is not allowed to define functions in the root na…

---

## [Can you commit within a user-defined procedure?](https://community.neo4j.com/t/can-you-commit-within-a-user-defined-procedure/6624)

<div class="topic-metadata">

**Author:** [@clunny](https://community.neo4j.com/u/clunny)\
**Replies:** 0\
**Last updated:** [April 16, 2019, 12:54am UTC](https://community.neo4j.com/t/can-you-commit-within-a-user-defined-procedure/6624 "2019-04-16T00:54:36Z")

</div>

Is it possible to \[periodically\] commit within a user-defined procedure? If so, how do I do that? In this case, I don't need to worry about the procedure being atomic and isolated in the ACID sense so I can commit regu…

---

## [Create Users procedure error](https://community.neo4j.com/t/create-users-procedure-error/6174)

<div class="topic-metadata">

**Author:** [@Matt](https://community.neo4j.com/u/Matt)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 1:31pm UTC](https://community.neo4j.com/t/create-users-procedure-error/6174 "2019-03-29T13:31:34Z")

</div>

I'm trying to create a new user on a neo4j CE database using the following: CALL dbms.security.createUser('username', 'password', true); Following these instructions from the Neo4j manual: https://neo4j.com/docs/opera…

---

## [PageRank on subgraph of large graph](https://community.neo4j.com/t/pagerank-on-subgraph-of-large-graph/5970)

<div class="topic-metadata">

**Author:** [@Anvvee](https://community.neo4j.com/u/Anvvee)\
**Replies:** 8\
**Last updated:** [March 25, 2019, 10:13am UTC](https://community.neo4j.com/t/pagerank-on-subgraph-of-large-graph/5970 "2019-03-25T10:13:16Z")

</div>

I am working with a large graph of Wikipedia topics having more than 16 million nodes and 400 million edges. Trying to find important topics from the set of some topics. For that, I want to use PageRank on a subgraph of …

[Next page](https://community.neo4j.com/tag/procedure/142.md?match_all_tags=true&page=1&tags%5B%5D=procedure)
