β08-26-2022 04:05 AM
Does neo4j support creating fulltext index for different labels' fields?
Just like this
create fulltext index ft_1 for (a:A|b:B) on each [a.f1, b.f2];
β08-26-2022 06:55 AM
β08-26-2022 05:21 PM
Maybe you misunderstood me or
Now, I have label Movie {title, description} and label Book {title, description}, but I just want to add fulltext index on Movie.title and Book.title&Book.description. The way you mentioned below adds index on
CREATE FULLTEXT INDEX titlesAndDescriptions FOR (n:Movie|Book) ON EACH [n.title, n.description]
β08-27-2022 03:05 AM
Sorry, I misunderstood, what you want do is not possible with one index, you will have to define two indexes.
β09-08-2022 08:36 PM
Got it, thank you. By the way, does neo4j have any plan to support this way?
β09-08-2022 11:44 PM
Not to my knowledge.
All the sessions of the conference are now available online