Darnell Campbell
Darnell Campbell

Reputation: 355

Neo4J Dictionary Dense Node?

I am building a Neo4J graph that needs to contain a controlled vocabulary (namely the Getty AAT Thesaurus). Whenever I add a new term from the thesaurus I have a relationship:

(aat:Thesaurus)-[:LISTS]->(term:Term {term:"Something"})

I have a read a bit about a dense node problem in neo4j and am wondering if I have 100,000 t-[:LISTS]->term if that will cause a problem as our database grows. Any idea?

Upvotes: 1

Views: 279

Answers (1)

cybersam
cybersam

Reputation: 66999

If there is only a single Thesaurus node, then you can get rid of the Thesaurus node and the LISTS relationships.

Upvotes: 1

Related Questions