cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Fulltext search return which terms are found

Hi,

I am using full-text search with Neo4j. If the user inputs a composite search term, for example "A B C", is there a way that in the search results I can get the information which tokens have been found in each node? More precisely, if only "A B" is found in a specific node, is there a way for me to find this out, for example like this?
score = ...
node = details
foundTerms = ["A", "B"]

Thanks a lot,
Alisa

1 REPLY 1

MuddyBootsCode
Graph Steward

Welcome to the community Alisa, while this isn't a direct answer to your question. There's a ton of good info in this article on graph aware that might get you where you need to go. https://graphaware.com/neo4j/2019/01/11/neo4j-full-text-search-deep-dive.html Hope it helps.