# Searching documents with multiple fields

**URL:** <https://community.prismic.io/t/searching-documents-with-multiple-fields/2178>\
**Category:** Developing with Prismic\
**Tags:** javascript\
**Created:** [October 6, 2020, 3:26pm UTC](https://community.prismic.io/t/searching-documents-with-multiple-fields/2178 "2020-10-06T15:26:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![web](https://avatars.discourse-cdn.com/v4/letter/w/a8b319/32.png) [@web](https://community.prismic.io/u/web)\
**Post date:** [October 6, 2020, 3:26pm UTC](https://community.prismic.io/t/searching-documents-with-multiple-fields/2178/1 "2020-10-06T15:26:50Z")

</div>

Hello,

Is it possible to search multiple fields in a query. For example find all of type fruit with color red and radius above 5 cm?

I could not find any reference to this here: [Fetch Data with Vanilla JavaScript - Prismic](https://prismic.io/docs/javascript/query-the-api/query-by-a-field)

Cheers,  
Gabe

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [October 6, 2020, 10:17pm UTC](https://community.prismic.io/t/searching-documents-with-multiple-fields/2178/2 "2020-10-06T22:17:34Z")

</div>

Hey, how have you been?!

You can perform a Fulltext search, this predicate will search for documents for a given term or terms. The fulltext predicate searches the term in any of the following fields:

- Rich Text
- Title
- Key Text
- UID
- Select

> **[Fulltext Search in Javascript - Prismic](https://prismic.io/docs/javascript/query-the-api/fulltext-search)**

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [October 7, 2020, 8:57am UTC](https://community.prismic.io/t/searching-documents-with-multiple-fields/2178/6 "2020-10-07T08:57:30Z")

</div>

Hey Team,

You should also maybe look in to multiple predicates to narrow down your queries:

> **[Use Multiple Predicates in Javascript - Prismic](https://prismic.io/docs/javascript/query-the-api/use-multiple-predicates)**

---

<div class="post-metadata">

**Author:** ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)\
**Post date:** [October 17, 2020, 1:01am UTC](https://community.prismic.io/t/searching-documents-with-multiple-fields/2178/7 "2020-10-17T01:01:04Z")

</div>

closed on October 17, 2020, 1:01am UTC, flag & select 'Something Else' to reopen.

This issue has been closed due to inactivity. [Flag to reopen](https://community.prismic.io/t/re-open-a-thread/2175).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:26pm UTC](https://community.prismic.io/t/searching-documents-with-multiple-fields/2178/8 "2021-12-09T17:26:05Z")

</div>

Opened on December 9, 2021, 5:26pm UTC


