• Hello,

    Updated to the latest version, and I have zero search results and zero indexed posts.

    Post types are not excluded and checked in the settings, but after I hit build the index I get the following:
    Wiping out the index… Counting posts… 354 posts found.
    Indexed 0 posts (total 0), processed 354 / 354.
    Indexing complete. 354 posts excluded.

    If I reload the page it says:

    documents in the index.
    terms in the index.
    is the highest post ID indexed.

    If I hit “Index unindexed posts” I get the the following message:
    Counting posts… 0 posts found.

    Clearly it doesn’t work, any suggestion to work it out?

    Update:
    uninstall – search works
    reinstall – search doesn’t work

    search.php doesn’t contain wp-query/query-posts

    • This topic was modified 6 years, 11 months ago by elba00.
    • This topic was modified 6 years, 11 months ago by elba00.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Sounds like a database issue to me. If the state of the index doesn’t even say 0, that usually means the database table doesn’t exist at all. Can you check? Does the wp_relevanssi table exist in your WP database?

    If it’s not there, running the following MySQL queries with phpMyAdmin or Adminer will likely help:

    https://gist.github.com/msaari/e1889c2b1cc9b4afca6802eaf4c980b8

    • This reply was modified 6 years, 11 months ago by Mikko Saari.

    I think I may be having a very similar issue.

    After clicking “Build the Index”, only some of my posts are indexed, although it reports “Indexing complete”.

    If I then click “Index unindexed posts”, it continues with the remaining posts.

    Here’s a series of screenshots showing the issue: https://imgur.com/a/N8GMx

    Edit: I rolled back to 3.6.2.2 and it does not appear to have the issue. Clicking the “Build the index” button appears to index all posts.

    • This reply was modified 6 years, 11 months ago by Web1776.
    Plugin Author Mikko Saari

    (@msaari)

    @Web1776: No, you’re having a different issue. Please start a new thread, and let me know if you were using the latest version (4.0.3). This is a problem I’ve seen, and assumed it was already fixed in the latest version. If that’s not the case, I’d like to see more details.

    Thanks for the response Mikko, I’ve opened a new thread here: https://www.ads-software.com/support/topic/index-not-being-built-completely-4-0-2/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Zero indexed post’ is closed to new replies.