Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-26-2022 10:11 PM
I have 3 nodes - a:Person, b:Profile and c:Gig. I want to created a full text index in properties a.name, a.bio c.title, c.description
I've successfully created an index that delivers what seems to be good results using
Solved! Go to Solution.
10-27-2022 02:27 AM
Her is an example in the text for multiple nodes and properties. Nodes labels are separated by a ‘|’ and properties are specified in a list.
there is optional configuration map of values, but it doesn’t not provide a description of all the key/value pairs, unless the few discussed in the text is all of them.
CREATE FULLTEXT INDEX titlesAndDescriptions FOR (n:Movie|Book) ON EACH [n.title, n.description]
10-27-2022 01:03 AM
10-27-2022 01:47 AM
I've looked there and it's as clear as mud for me 🙂
It's clear for creating indexes on a single node, but not clear (for me) if >1 node with different property names.
10-27-2022 01:48 AM
Also, the queryNodes is not fully documented. For example, I want to limit the number of nodes returned and by trial and error I found you can add an extra options parameter with {limit: x} but unless I'm blind that is not documented anywhere.
10-27-2022 02:27 AM
Her is an example in the text for multiple nodes and properties. Nodes labels are separated by a ‘|’ and properties are specified in a list.
there is optional configuration map of values, but it doesn’t not provide a description of all the key/value pairs, unless the few discussed in the text is all of them.
CREATE FULLTEXT INDEX titlesAndDescriptions FOR (n:Movie|Book) ON EACH [n.title, n.description]
10-27-2022 03:02 AM
Thanks for your quick reply, much appreciated. I did try that but was not convinced it was correct.
All the sessions of the conference are now available online