# Why fulltext search is doing partial search too?

**URL:** <https://community.prismic.io/t/why-fulltext-search-is-doing-partial-search-too/14958>\
**Category:** Developing with Prismic\
**Tags:** rest-api, nextjs\
**Created:** [January 11, 2024, 3:55pm UTC](https://community.prismic.io/t/why-fulltext-search-is-doing-partial-search-too/14958 "2024-01-11T15:55:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfurquan](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@sfurquan](https://community.prismic.io/u/sfurquan)\
**Post date:** [January 11, 2024, 3:55pm UTC](https://community.prismic.io/t/why-fulltext-search-is-doing-partial-search-too/14958/1 "2024-01-11T15:55:53Z")

</div>

I have implemented fulltext search on my articles but it is returning weird results.  
For example If I am searching for **diabetes** its returning articles those are having word **diabetics** in the title too.

below is the code I have

```auto
const filterdArticlesByTitle = await client.get({
        predicates: prismic.filter.fulltext("my.article.title", "diabetes"),
      });
      console.log('filterdArticlesByTitle', filterdArticlesByTitle.results);

```

Any help is much appreciated

---

<div class="post-metadata">

**Author:** ![Levi](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/levi/32/24_2.png) [@Levi](https://community.prismic.io/u/Levi)\
**Post date:** [January 12, 2024, 10:35am UTC](https://community.prismic.io/t/why-fulltext-search-is-doing-partial-search-too/14958/3 "2024-01-12T10:35:43Z")

</div>

Hi @sfurquan. This is the expected behavior of `fulltext`. It will return results based on the root word, not an exact match.

Here are the docs for the [fulltext filter](https://prismic.io/docs/rest-api-technical-reference#fulltext).

If you need it to be an exact match, I would leave the query as it is, then loop through the results and filter out the articles that don't have an exact match.
