I have set up a full text index on one field using the following apoc query
CALL apoc.index.addAllNodes("CompName", {Basic_company_data:["CompanyName"]})
It seems to create the index correctly. If I then run this query
call apoc.index.search("CompName", "swaythling~") YIELD node as n return n
I get five results, which is expected.
If I then run the same query but with + housing
call apoc.index.search("CompName", "swaythling~ + housing~") YIELD node as n return n
I get 100 nodes returned, not the one node I was expecting. This seems to be the total number of nodes with swaythling OR housing in the company name, when I am trying to get the results for swaythling AND housing.
I can get the correct results by doing two apoc calls but I fell the and is something I should be able to do.
Have I done something wrong in setting up the index or am I missing something from the index search itself?