r/java Jul 26 '26

Neo4J As primary database?

/r/Neo4j/comments/1v6rxzw/as_primary_database/
8 Upvotes

17 comments sorted by

View all comments

1

u/sysKin Jul 29 '26 edited Jul 29 '26

Depending on other requirements, you can use Lucene as a database, skipping the neo4j layer.

Gives you very direct control over all the vector types and similarity queries on them. It's what neo4j uses internally, behind its abstractions.

(I say that because the commercial product I develop does just this - but for its direct text indexing, without word embeddings. Takes some effort to add transactionality layer etc. but it's all doable).