We have over 1,000 pdf documents on our website, and the most important is our Journal, with 238 editions at present. As an example, a couple of issues of our Journal are here, but they are all similar in structure:
You will see that at the bottom of the second page of Journal 100 is a table of contents for the issue and, if the pdf is saved and then opened in Acrobat Reader, there is an equivalent set of bookmarks. It would help if a search term appearing in the article title (as listed in the table of contents) was given a higher weighting than one in the text of the document, but quite often the term will only occur in the text, and not in the title at all.
Ideally, we would like the weighting to be based upon articles, but weightings based upon the the whole Journal is acceptable. This is because the articles tend to be on unrelated topics within a Journal, so there is probably little difference between the number of instances of a specific search term within an article, and within its parent document.
I think it would help me if you could explain, in non-technical terms, how the four weightings operate with WPFTS. I've looked at the TFIDF article on Wikipedia, and understand the basics, but the majority of the article is too technical for me. Perhaps this information could also be added to the WPFTS documentation?
As a related issue, could WPFTS open the document listed in the search results at the first article page where the search term is found? I realise it might go to the article title instead, and if so that wouldn't really help much.
Pro plugin version not able to search within other folders
I have purchased the premium version of your plugin and I cant seem to be able to search for files in directories that are not part of the media library.
https://snipboard.io/DR5Ljd.jpg this is a screenshot of my uploads folder
Is there a way to enable search within all the directories and subdirectories of the uploads folder?
Could we use this function wpfts_index_post to include all possible directories and files under the /upload folder and not just the media library folders and files?
Thank you very much in advance,
EpsilonAdmin last edited by EpsilonAdmin
Thank you for the question!
Yes, initially WPFTS Pro was only able to search within files that are included in WP Media Library. We are developing an addon currently which will enable search by any file or file directory.
ETA of the test version is 25 Apr 2020.