Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Neo4j Drawbacks

So I am putting together a report on Neo4j and it's potential advantages over your average relational database. In my research, I've encountered a couple issues that might not make Neo4j the best choice at the present for a public server application. Namely:

  • Neo4j uses Apache Lucene, which treats all data as text. This makes purely integer data queries much slower than they need to be.

  • Neo4j has no user management built in. All security must be done at the application level.

My question is whether my research is outdated and these issues have solutions. I know that community and support for Neo4j and other graph databases is growing fast. Anyone with knowledge on the current state of Neo4j could really help me out.

Thanks in advance

like image 373
nashter Avatar asked Feb 10 '26 01:02

nashter


1 Answers

Reply to your first bullet:

By using ValueContext you can tell Lucene to index it numerically and also to query by numeric value or numeric range. See for example https://github.com/neo4j/neo4j/blob/master/community/lucene-index/src/test/java/org/neo4j/index/impl/lucene/TestLuceneIndex.java#L622

like image 81
Mattias Finné Avatar answered Feb 12 '26 14:02

Mattias Finné



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!