Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-01-2019 08:59 PM
How should I put full-text indexes on properties using Spring Data Neo4j?
09-02-2019 08:53 AM
You would have to manually (admin operation) add those indexes.
E.g. as a database init/migration script.
To use the fulltext indexes you'd need to use a custom @Query
annotation on your repository or use Neo4jSession.
09-02-2019 09:27 PM
Why is that? When we can add indexes simply using @Index, why should putting a full-text index be that hard?
09-03-2019 06:08 AM
Because it's a different kind of index, which can be non-transactional, it's more like a lightly integrated FTS engine.
It's the way it is currently designed/implemented in the database, so that's the way it is.
09-04-2019 08:24 AM
As @michael.hunger said: They are a different kind of queries that would have to create. Additionally this functionality does not exists in older OGM-supported versions of Neo4j.
It would be too much complexity in the source code for introducing a feature that should IMHO, just like the other index creations, only be used during development phase.
All the sessions of the conference are now available online