# Fulltext query using node properties rather than strings

**URL:** <https://community.neo4j.com/t/fulltext-query-using-node-properties-rather-than-strings/26802>\
**Category:** Cypher\
**Tags:** cypher\
**Created:** [October 7, 2020, 6:28pm UTC](https://community.neo4j.com/t/fulltext-query-using-node-properties-rather-than-strings/26802 "2020-10-07T18:28:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mike/32/334_2.png) [@mike](https://community.neo4j.com/u/mike)\
**Post date:** [October 7, 2020, 6:28pm UTC](https://community.neo4j.com/t/fulltext-query-using-node-properties-rather-than-strings/26802/1 "2020-10-07T18:28:46Z")

</div>

I want to call the fulltext query but do not want to use a typical 'string' as the query term. Rather I want to use one or more variable.properties (which are strings). This works for a single term:

CALL db.index.fulltext.queryNodes("person-names", sn.text)

but I also want to expand to use with:

i) logical operators AND OR, e.g ...sn.text OR fn.text  
ii) fuzzy search, e.g. ...sn.text~

Any help gratefully received 🙂

---

<div class="post-metadata">

**Author:** ![subhodip.pal](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/subhodip.pal/32/3875_2.png) [@subhodip.pal](https://community.neo4j.com/u/subhodip.pal)\
**Post date:** [October 8, 2020, 5:54pm UTC](https://community.neo4j.com/t/fulltext-query-using-node-properties-rather-than-strings/26802/2 "2020-10-08T17:54:37Z")

</div>

Not sure if there is an APOC yet, custom proc might be a way around

---

<div class="post-metadata">

**Author:** ![mike](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mike/32/334_2.png) [@mike](https://community.neo4j.com/u/mike)\
**Post date:** [October 9, 2020, 11:52am UTC](https://community.neo4j.com/t/fulltext-query-using-node-properties-rather-than-strings/26802/3 "2020-10-09T11:52:00Z")

</div>

Thanks for the input, I'll give that a try
