• Hello, I’m working on a site with Relevanssi Premium installed. We are primarily using it for the PDF reading feature, and having the parent post up in searches that match the PDF content, because our posts contain only the embedded PDF.

    This seems to be working well, except that I have 3 posts that just will not index.

    Rebuilding the index from scratch works fine until it reaches these last couple of posts then it hangs indefinitely. Attempting to index the unindexed posts also hangs indefinitely after the following step:

    Counting posts… 3 posts found.

    Is there a way to enable some kind of logging that might show what the issue with these posts is? Also, is there a way to identify which 3 posts these are?

    The following has come up in the debug.log which might be relevant:

    
    [04-Jun-2021 19:06:29 UTC] PHP Warning:  mysqli_query(): MySQL server has gone away in /.../wp-includes/wp-db.php on line 2056
    [04-Jun-2021 19:06:29 UTC] PHP Warning:  mysqli_query(): Error reading result set's header in /.../wp-includes/wp-db.php on line 2056

    I’ve only been able to identify one of them. It is virtually identical to other posts that have been indexed without issue so I’m not sure what the problem is. It is one of the longer/more important posts so it’s very concerning to the client that search isn’t pulling up this post.

    Edit: I forgot to mention I have unchecked the Expand shortcodes when indexing option but it didn’t resolve the issue.

    • This topic was modified 2 years, 10 months ago by kisabelle.
Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    I am not allowed to help Premium customers here by the forum rules. Please use the Premium support.

    Look at the browser javascript console when the indexing hangs. There may be an error message there. What happens if you save the post you identified as one of the missing posts? Does Relevanssi index the post without problems? Please follow up through the Premium support.

    • This reply was modified 2 years, 10 months ago by Mikko Saari.
Viewing 1 replies (of 1 total)
  • The topic ‘Some Posts Not Indexed’ is closed to new replies.