By default, you won’t be able to search the pdf file unless you use some software or script to take the data out of the pdf and put it in some place that it can be indexed and searched (or use a tool to help you).
A potential solution would be to capture and save this information on the upload of the PDF as a meta-value or similar and allow the db to index it for searching.
I would start over with a different view on the problem and seeing here for a possible nudge in the new direction: https://stackoverflow.com/questions/1004478/read-pdf-files-with-php
Related Posts:
- Organizing media files (pdf) and searching based on the folders created
- Search is always exact [closed]
- Empty search returns home page, how to return not found search page?
- How to make search include data from wp_postmeta?
- How to look at code in WordPress repositories without downloading?
- Insert DIV container below 1st search result
- How to make WordPress search prioritise page titles?
- How to add the author search in the default wordpress search?
- How do I redirect /search/ to wordpress search template?
- How to search for users based on added user metadata
- Search by Post ID and display content of the post in search result
- Let user change posts per page
- Turning Broken URLs Into Search Terms?
- Change the Search Base in a multi language wordpress
- Search uses index.php instead of search.php on renaming search field from “s”
- Search results URL without query string variables
- Changing the default WordPress search action
- Set default text for the_search_query();
- Changing the search results destination URL
- What are the different options for excluding certain post types from search results?
- Is_search not working on search results page
- Search in post title and custom fields
- How to change users smart quotes to dumb quotes in search bar?
- Making a list of post tags in string
- Trim the search result around the search word
- Searching custom fields is removing search on the post_title column
- Edit search results in order to advertise
- Search function works improperly
- Is there a wordpress plugin enabling an autocomplete search box, then jump to page?
- Date_query problems
- WordPress, fetching users with an exact match in a string of comma separated values in user_meta
- search form redirects to home
- How can I hide uncategorized products from search results?
- Exclude html from search results (image names, etc.)?
- documentation for wordpress 3.7 keyword
- WordPress Search not picking up text provided by a Plugin
- How to exclude pages from WP search based on page title
- What does wordpress search, search?
- How to combine two get_users() array?
- Search not working. Appending a “
- Search posts by Tag
- Improved WordPress search functionality and search form plugin
- Change Twentyeleven Search Form Text
- redirected to the login screen when I do a blank search
- Add Google custom search to wordpress.com [closed]
- Changing default wp search string
- How do I exclude a specific page (and child pages) from the search results?
- Sort WP Search results by date
- How to pass data to wordpress page (without GET parameter)
- Cannot pass ‘S’ parameter more than two letters
- Check If search query contains something?
- Localization of WP theme
- Show search count by post type
- How to have multiple instances of the same taxonomy in a search form
- Alter BuddyPress member search to include search on added profile fields [closed]
- Enhancin 404 to contain a search from URL
- Checkboxed term search
- Search using ACF repeater
- search custom table in wp database with searchform
- How to track searches using the REST API?
- content-search.php duplicating the output for a certain post type
- Form for search pages by meta datas
- WordPress REST API Search decoded URL with cyrillyc symbols
- Hide Search Form above results
- searchform.php not included by get_search_form when using wp_dropdown_categories
- Modify wordpress search to search only pages and load matched page not search results
- WordPress search post using unicode
- How to pass variable to get_search_form()?
- Problem with search results page
- Why the search results are wrong in search posts form?
- Search result page as a new page
- Search isn’t displaying all results
- How to use regular page template for search results?
- Search Engine Visibility Issue in WordPress
- Page has no template
- Allow users to search for other users in WordPress
- Auto search field without buttons, shows first result from search page
- How to Search Users on the Base of Latitude and Longitude in Users meta_key and meta_value
- How to stop the search results from loading the wrong template?
- search form display no result
- WordPress search not able to find text in url
- Search & Replace trailing strings
- Page/Post path in Search Results
- Customizing Home Page with Pagelines Platform
- Make search result returned only from tags! [duplicate]
- WordPress search form and input type=”image”
- How to search pdf attachment?
- Website Search Results Not Showing Images
- How do I find a shortcode stored in wordpress?
- Return excerpt on Search
- Attached file how can i work the wp_query to search for related names
- Custom WordPress Excerpt within terms
- Need help to be able to searching by tag and title
- WordPress REST API response – not returning results from custom taxonomy, only from title
- Ivory Search error
- Members location sortable based on UK Postcode
- I had removed my phone number from my website footer, but months later it still appears once I look it up on google, how to remove it?
- search posts by POST ID
- How to Prevent ?keyword Parameter from Being Indexed and Stop Its Generation in WordPress?
- Search Filter by mime type not working in pre_get_posts