# How to call db.index.fulltext.queryNodes on a nodes subset (instead of doing the search on every node in DB)?

**URL:** https://community.neo4j.com/t/how-to-call-db-index-fulltext-querynodes-on-a-nodes-subset-instead-of-doing-the-search-on-every-node-in-db/49373
**Category:** Cypher
**Tags:** performance, index
**Created:** [December 22, 2021, 9:25am UTC](https://community.neo4j.com/t/how-to-call-db-index-fulltext-querynodes-on-a-nodes-subset-instead-of-doing-the-search-on-every-node-in-db/49373 "2021-12-22T09:25:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mickael.sandron](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/mickael.sandron/32/21028_2.png) [@mickael.sandron](https://community.neo4j.com/u/mickael.sandron)
#### Post date: [December 22, 2021, 9:25am UTC](https://community.neo4j.com/t/how-to-call-db-index-fulltext-querynodes-on-a-nodes-subset-instead-of-doing-the-search-on-every-node-in-db/49373/1 "2021-12-22T09:25:58Z")

</div>

Hello everybody!

I have the following data model:

```auto
(org:Organization {name_en:'Org name in English', 'name_fr': 'Org name in French', 'anotherProperty': 'a value'})

```

I configured Full-text search index on the name's properties (name\_en and name\_fr).

If I want to make a fuzzy search on the name, I have to write the following:

```auto
CALL db.index.fulltext.queryNodes("myOrgNameIndex", 'something~') YIELD node RETURN node

```

But, I always have to perform a first MATCH to get a subset of org nodes based on 'anotherProperty'. So instead of doing as first operation the fuzzy search on all org nodes of my DB (a lot...), **I would like first doing a MATCH with a WHERE and then calling the full-text search index based on the results of the 'first' query**.

How can I do that? Is it even possible?

Already thank you for your reply.
