Forum Replies Created
-
AuthorPosts
-
July 18, 2018 at 11:02 pm in reply to: Best method for including only certain PDF files in search. #18723
gztba
ParticipantThanks! Your response to #1 did the trick. All is good now with the search configuration. I appreciate the quick and clear responses to all three questions.
July 17, 2018 at 10:40 pm in reply to: Best method for including only certain PDF files in search. #18691gztba
ParticipantHi again! I wanted to update my original three question
1) I was able to add a category option to media files with some easy code in functions.php. Cool. I’m thinking that should take care of question #1, except that when I create a category and assign it to a PDF, and then go to the “Advanced” > “Exclude Results” tab in the plugin, and add the relevant category to the “INCLUDE posts only from selected categories” field (and then save and refresh my page with the search instance), it seems to include both the single PDF to which I assigned the category as well as all other PDFs in the media library UNLESS I assign these other PDFs some other category. Is it possible to include in search results ONLY items with a given category assigned, even if not all PDFs are assigned a category. If not, I’ll just go back to old, unrelated PDFs and given them an Uncategorized category.
2) I’m still interested if this is possible (searching only files in a specific directory on the server).
3) I’m still interested if this is possible (searching ONLY meta data entered in the PDF file itself), but did want to update that searching within the PDF content is now working for me. I earlier made the mistake of specifying to use the Index Table Engine on the Sources tab, but not the Attachments tab. Specifying it on the Attachments tab did the trick.
Thanks — I look forward to your responses when back online!
Adam
-
AuthorPosts