Searching the body of a PDF plus having custom fields

If I use the crawler engine:
I get an error when trying to add fields to a document. “This API action is prohibited on Engines created using the Swiftype web crawler.”

If I use the API engine:
I can’t figure out how to get the pdf body and search it. I’ve tried entering the url as a field. Not sure what I’m doing wrong.

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?.