# Search partial text via API

**URL:** <https://community.prismic.io/t/search-partial-text-via-api/10580>\
**Category:** Developing with Prismic\
**Created:** [July 9, 2022, 8:59am UTC](https://community.prismic.io/t/search-partial-text-via-api/10580 "2022-07-09T08:59:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelson-thomas.pereir](https://avatars.discourse-cdn.com/v4/letter/n/9d8465/32.png) [@nelson-thomas.pereir](https://community.prismic.io/u/nelson-thomas.pereir)\
**Post date:** [July 9, 2022, 8:59am UTC](https://community.prismic.io/t/search-partial-text-via-api/10580/1 "2022-07-09T08:59:37Z")

</div>

Hi,  
I would like to search partial text from all the content's Text and Rich text field using API.  
I am not going to use GraphQL as we are Focusing on Native Mobile  
We are able to search full text using following query  
[fulltext(document,"family")]  
It return all the documents which have Family word. But I want to achieve same thing when user just types fam. Is there any query that I can pass in API which will return me all the documents which has searched key(Partial key like Fam)

---

<div class="post-metadata">

**Author:** ![Priyanka](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/priyanka/32/3223_2.png) [@Priyanka](https://community.prismic.io/u/Priyanka)\
**Post date:** [July 11, 2022, 9:25am UTC](https://community.prismic.io/t/search-partial-text-via-api/10580/3 "2022-07-11T09:25:12Z")

</div>

Hello @nelson-thomas.pereir

Thanks for reaching out to us.

We have already discussed this topic here:

> [@Full text search functionalities](https://community.prismic.io/t/full-text-search-functionalities/457/3):
>
> Hi @likhit_prismic-custo, Unfortunately the fulltext search functionality only works with exact full word matches, so at the moment it is not possible to search for partial words or to do a fuzzy search. If you need a more robust search, then at the moment we recommend using a service like [Algolia](https://www.algolia.com/) to build that functionality. Here is the advice that our dev team gave me as to how to go about doing this: "The way to integrate with Algolia is pretty simple. What you need to do is index all your …

Let me know if you have any further questions.

Thanks,  
Priyanka
