neo4j full text search get property that contain keyword

Viewed 167
1 Answers

you could do something like:

WITH 'Full Metal Jacket' AS searchString 

CALL db.index.fulltext.queryNodes("titlesAndDescriptions", searchString) YIELD node, score 
WITH node,
     node.title CONTAINS searchString AS inTitle,
     node.description CONTAINS searchString AS inDescription

RETURN node,inTitle,inDescription
Related