- 2015-03-21 at 20:16 #4472
Two questions re: indexing searchable content
1) We are struggling to get the PDF and other document indexing to work well – we don’t seem to have much turning up in searches when we search for content in PDF files. Is there any way to have WP-Filebase reindex the search terms for files in the library?
ghostscript seems to be working fine on the server and we have thumbnail generation working perfectly.
2) We are using the Relevanssi search plugin. I have wpfb_filepage selected as a cpt to index along with the usual posts, pages, categories etc. I just wanted to confirm that WP Filebase Pro indexing works fine with Relevanssi as an extension to the standard WP search functionality?2015-03-23 at 03:14 #4483
Further to this… is there any way to add a search field to a page that allows searching of just files (title, author, category, document content) in the filebase?
The standard WordPress search (with Relevanssi) is returning far too much content. On a publications page we just want to be able to search within the filebase library but I can’t see any way to insert just WP Filebase search form.2015-03-23 at 04:07 #4484
Ok… making progress. I figured out I can get a search box using a custom template based on the data-table template.
It’s now working great showing a search box on the page except that it shows the first num=xx files by default before a search has been done. Setting to 0 or -1 just shows all files.
Is there any way to have the search field there but not show any files by default until a search term is entered and then show num=xx files in pagination?
Thank you!2016-05-12 at 22:27 #7628ccsanfordParticipant
What did you end up doing to get your Relevanssi search to find your PDF metadata? I too have WP-Filebase, but Relevanssi is not finding anything from WP-Filebase, even though I am indexing the wpfb_filepage CPT.
chris2016-05-18 at 11:22 #7678FabianParticipant
some points that might help you:
1) for PDFs consider the extension for Advanced Indexing https://wpfilebase.com/extend/advanced-indexing/
2) you can check the generated keywords below the form when editing a file
3) For best compatibility with other plugins enable “Content Keywords” in File Page Settings of WP-Filebase. Relevanssi should then find the sites
4) Run a rescan to let WP-Filebase re-index the files after you changed a setting or installed an extension
Hope that was helpful.
@phillcoxon: Please post the shortcode here.
- You must be logged in to reply to this topic.