According to the documentation, to be exact match in fulltext search:
if we are only interested in exact matches, then we can quote the string we are searching for.
CALL db.index.fulltext.queryNodes("titlesAndDescriptions", "\"Full Metal Jacket\"") YIELD node, score RETURN node.title, score
However, I tried a number of queries in my graph with quotes on the query terms, and it's surprising that sometimes it produces one singe result, and sometimes it produces multiple results, which says that the exact match works as expected sometimes, and at other times it doesn't effect at all.
For example, for the following query:
profile CALL db.index.fulltext.queryNodes("NameIndex", "\"pure\"") YIELD node, score RETURN node._name, score limit 10
It always produces more than one result. If I only searches for 'pure', it should empty, right? Since none of them are exact match with 'pure'.
|"100% Pure"|4.58421516418457| |---|---| |"Pure as Fior"|4.58421516418457| |"Pure Heals"|4.58421516418457| |"Pure paw paw"|4.2646050453186035| |"PURE BEAU ESSENCE"|4.2646050453186035| |"Pure Gold Collagen"|4.2646050453186035|
Does this look like a bug, although I doubt?