# Does Prismic support 'OR' searching between fields?

**URL:** <https://community.prismic.io/t/does-prismic-support-or-searching-between-fields/6120>\
**Category:** Developing with Prismic\
**Tags:** graphql\
**Created:** [July 6, 2021, 12:02pm UTC](https://community.prismic.io/t/does-prismic-support-or-searching-between-fields/6120 "2021-07-06T12:02:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrzej](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@andrzej](https://community.prismic.io/u/andrzej)\
**Post date:** [July 6, 2021, 12:02pm UTC](https://community.prismic.io/t/does-prismic-support-or-searching-between-fields/6120/1 "2021-07-06T12:02:16Z")

</div>

I'm creating a search interface and having looked at the documentation, I can't see any reference into how to do 'OR' searches between fields. I can run parallel searches and then combine the results, but this feels a little odd. Does anyone have any experience of this?

Thanks!

---

<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:** [July 7, 2021, 12:20am UTC](https://community.prismic.io/t/does-prismic-support-or-searching-between-fields/6120/3 "2021-07-07T00:20:39Z")

</div>

Hey @andrzej!

The Prismic GraphQL schema doesn't currently support an alternative to AND & OR. You can filter the response using the `where` argument. As a matter of fact, GraphQL itself doesn't work natively with these operators. ([Here's a more extensive response from @leebyron about this topic](https://github.com/graphql/graphql-js/issues/585#issuecomment-262402544))

Usually, you'd use [the `where` argument](https://prismic.io/docs/technologies/basics-on-querying-the-graphql-api#filtering-documents) to accomplish the filtering processes that you need. It'll depend on your use case.

---

<div class="post-metadata">

**Author:** ![andrzej](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@andrzej](https://community.prismic.io/u/andrzej)\
**Post date:** [July 8, 2021, 6:08am UTC](https://community.prismic.io/t/does-prismic-support-or-searching-between-fields/6120/4 "2021-07-08T06:08:12Z")

</div>

Thanks @Pau - we'll take a look. Thanks for your help.

---

<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:** [July 15, 2021, 7:52am UTC](https://community.prismic.io/t/does-prismic-support-or-searching-between-fields/6120/5 "2021-07-15T07:52:17Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

---

<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, 3:37pm UTC](https://community.prismic.io/t/does-prismic-support-or-searching-between-fields/6120/6 "2021-12-09T15:37:02Z")

</div>


