# Searching the body of a PDF plus having custom fields

**URL:** <https://community.swiftype.com/t/searching-the-body-of-a-pdf-plus-having-custom-fields/698>\
**Category:** API\
**Tags:** crawler, api\
**Created:** [May 14, 2018, 9:38pm UTC](https://community.swiftype.com/t/searching-the-body-of-a-pdf-plus-having-custom-fields/698 "2018-05-14T21:38:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![smiller](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@smiller](https://community.swiftype.com/u/smiller)\
**Post date:** [May 15, 2018, 4:03pm UTC](https://community.swiftype.com/t/searching-the-body-of-a-pdf-plus-having-custom-fields/698/2 "2018-05-15T16:03:12Z")

</div>

When you use the api what you send is what gets stored, so you would have to send Swiftype the body text directly. If you use the crawler you could maybe make use of one of the meta data fields they do crawl. [Can Swiftype index PDF documents?](https://community.swiftype.com/t/can-swiftype-index-pdf-documents/65).

---

_[View the full topic](https://community.swiftype.com/t/searching-the-body-of-a-pdf-plus-having-custom-fields/698)._
