# \#procedures-and-apoc

**URL:** https://community.neo4j.com/tag/procedures-and-apoc/451.md

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

---

## [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.

---

## [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…

---

## [Is it possible to use apoc.cloneSubgraphFromPaths (or similar) to clone a large graph in batches to prevent OOM?](https://community.neo4j.com/t/is-it-possible-to-use-apoc-clonesubgraphfrompaths-or-similar-to-clone-a-large-graph-in-batches-to-prevent-oom/58405)

<div class="topic-metadata">

**Author:** [@CodieC](https://community.neo4j.com/u/CodieC)\
**Replies:** 2\
**Last updated:** [January 18, 2023, 12:36am UTC](https://community.neo4j.com/t/is-it-possible-to-use-apoc-clonesubgraphfrompaths-or-similar-to-clone-a-large-graph-in-batches-to-prevent-oom/58405 "2023-01-18T00:36:50Z")

</div>

Hi, I am attempting to clone a pretty large subgraph (needs to support cloning millions of nodes). Currently I have been utilizing apoc.cloneSubgraphFromPaths in the following manner: MATCH path=(doc:Document)-\[\*\]-\>(:…

---

## [Neo4j Full Text Search vs Elastic Search](https://community.neo4j.com/t/neo4j-full-text-search-vs-elastic-search/58655)

<div class="topic-metadata">

**Author:** [@multshibanda](https://community.neo4j.com/u/multshibanda)\
**Replies:** 1\
**Last updated:** [December 5, 2022, 8:24am UTC](https://community.neo4j.com/t/neo4j-full-text-search-vs-elastic-search/58655 "2022-12-05T08:24:22Z")

</div>

What is the benefit of using ElasticSearch in place of Neo4j Full Text ?

---

## [How to sort a subgraph by weakest link in weighted graph](https://community.neo4j.com/t/how-to-sort-a-subgraph-by-weakest-link-in-weighted-graph/58876)

<div class="topic-metadata">

**Author:** [@graphene](https://community.neo4j.com/u/graphene)\
**Replies:** 4\
**Last updated:** [November 12, 2022, 11:25pm UTC](https://community.neo4j.com/t/how-to-sort-a-subgraph-by-weakest-link-in-weighted-graph/58876 "2022-11-12T23:25:31Z")

</div>

I have a weighted graph and I'd like to know the most efficient way to return all the nodes connected to one node, sorted by the weakest link in the path it took to get to that node. (in my case the 'weights' would be si…
