Get WPFTS Pro today with 25% discount!

PDFs not appearing in search result

Bugs and Fixes
2 2 853 2

  • Hey,

    I've been using this extension since the summer, and with great success. However, recently I discovered that PDF files (or documents with PDF attachments) will no longer appear in search results. This happens with "Limit File Types" set to "Allow All", and both with and without "Search in File Contents" enabled. Other files, such as pictures (JPG, JPEG) appear with file contents enabled. The search URL I'm using is https://site-url.com/?s=search+term

    I have tried the same search term in the sandbox area in the admin panel, and here everything works as expected. The document with the PDF attachment appears as the third search result.

    I suspect this happened in an update to the plugin, as no configuration change was made as far as I know. The current version installed is v2.46.180

    Does anyone have any idea of what's going on?


  • Hi @blixhavn

    Do you remember which plugins you've installed recently? Some of them may conflict with WPFTS Pro, especially when making a search at the front end. Please try to disable those plugins temporarily.

    If it does not help, let's connect with TeamViewer so I can solve this issue faster (write me a private message or via Live Chat at the main page).

Suggested Topics

  • No PDF results

    Bugs and Fixes
    2
    0 Votes
    2 Posts
    200 Views
    EpsilonAdminE
    Hi @ultraman Thank you for your message. Since you can see results in the Sandbox, the index is fine. No need to rebuild it again. The problem is on the "display results" side. With your configuration, the first idea I think is to install the pre-release WPFTS version that contains the latest fix of the Divi Addon for WPFTS. I've sent you the link in private messages. Please install it and tell me if it works fine or not. In case it still does not work, please tell me which version of Divi Theme you are using, the WPFTS plugin version, and also please explain your search behaviour. Simple try the request like this: https://yourdomain.com/?s=<search_phrase> And notice if it returns any result. Thank you!
  • No valid search resulds, whats wrong?

    Bugs and Fixes
    10
    1 Votes
    10 Posts
    1k Views
    EpsilonAdminE
    Hi @stark Unfortunately, WPFTS does not work with PODS custom fields "from the box", so custom code exists somewhere. I think your developer used another way to add data to the search index. We need to ask him or alternatively, I could check your code myself, it should not be too long. In this case please send me admin access to your resource using a private message. Thanks.
  • No search results after update

    Bugs and Fixes
    3
    0 Votes
    3 Posts
    331 Views
    EpsilonAdminE
    @ibloom Thank you, this is actually the thing which I would like to recommend you to do.
  • Search Results - BOOLEAN Operators and Relevance

    Bugs and Fixes
    2
    1 Votes
    2 Posts
    985 Views
    EpsilonAdminE
    Hi @Nick Yes, the algorithm thinks the number of words here is more important than the exact phrase... Ideally, if we could justify the relative weight for the phrase matches. Currently, it's too low for your case, but I think if we can double it, this could solve the issue. I think to put this parameter to settings in the near future. Thanks!
  • Sorting of Search Results

    Bugs and Fixes
    5
    0 Votes
    5 Posts
    2k Views
    N
    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: https://rchs.org.uk/wp-content/uploads/2020/02/Journal-100-Nov-1975.pdf https://rchs.org.uk/wp-content/uploads/2020/02/Journal-001-Jan-1955.pdf 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.

Be the first to read the news!

We are always improving our products, adding new functions and fixes. Subscribe now to be the first to get the updates and stay informed about our sales! We are not spammy. Seriously.

Join Us Now!

We are a professional IT-team. Many of us have been working in a Web IT field for more than 10 years. Our advanced experience of software development has been employed in the creation of the WordPress FullText Search plugin. All solutions implemented into the plugin have been used for 5 or more years in over 60 different web-projects.

We are looking forward to your comments, requests and suggestions in relation to the current plugin and future updates.

ewm-logo-450

The forum powered by NodeBB | Contributors