Title: Zero indexed post
Last modified: December 5, 2017

---

# Zero indexed post

 *  [elba00](https://wordpress.org/support/users/elba00/)
 * (@elba00)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/zero-indexed-post/)
 * 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 8 years, 4 months ago by [elba00](https://wordpress.org/support/users/elba00/).
    -  This topic was modified 8 years, 4 months ago by [elba00](https://wordpress.org/support/users/elba00/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/zero-indexed-post/#post-9754806)
 * 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](https://gist.github.com/msaari/e1889c2b1cc9b4afca6802eaf4c980b8)
    -  This reply was modified 8 years, 4 months ago by [Mikko Saari](https://wordpress.org/support/users/msaari/).
 *  [Web1776](https://wordpress.org/support/users/commareus/)
 * (@commareus)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/zero-indexed-post/#post-9772937)
 * 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](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 8 years, 3 months ago by [Web1776](https://wordpress.org/support/users/commareus/).
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/zero-indexed-post/#post-9773703)
 * @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.
 *  [Web1776](https://wordpress.org/support/users/commareus/)
 * (@commareus)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/zero-indexed-post/#post-9775264)
 * Thanks for the response Mikko, I’ve opened a new thread here: [https://wordpress.org/support/topic/index-not-being-built-completely-4-0-2/](https://wordpress.org/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.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=2025044)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [indexed](https://wordpress.org/support/topic-tag/indexed/)
 * [search results](https://wordpress.org/support/topic-tag/search-results/)

 * 4 replies
 * 3 participants
 * Last reply from: [Web1776](https://wordpress.org/support/users/commareus/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/zero-indexed-post/#post-9775264)
 * Status: not resolved