WordPress.org

Ready to get started?Download WordPress

Forums

Search doesn't return imported posts (9 posts)

  1. JoeyDay
    Member
    Posted 7 years ago #

    I recently combined two blogs into one by exporting and importing the posts from one blog into the other. Now, when I search for posts that were imported, they fail to show up in the results. This happens when I search for words in the title or the body.

    To reproduce this bug:

    1. Go to the blog at joeyday.com.
    2. Click "Archive" across the top to get the search box.
    3. Search for "english" and observe that this post, English Standard Version, doesn't appear in the search results.
    4. Search for "ministry" and observe that this post, Is Paid Ministry Unbiblical?, doesn't appear in the search results.

    Any ideas? Thanks.

  2. JoeyDay
    Member
    Posted 7 years ago #

    *bump*

    Anybody?

  3. aychseven
    Member
    Posted 7 years ago #

    I have the same problem. All the old posts are there, but I can only search through posts i've made since i switched to wordpress.

  4. vkaryl
    Member
    Posted 7 years ago #

    There may be some cross messing with the post ids. It's next to impossible to successfully munge two wordpress (for instance) blogs, because you'll have the same post ids even though the post slugs etc. are different. Which probably will screw up a number of things, not just searching.

  5. JoeyDay
    Member
    Posted 7 years ago #

    No, that can't be the case here. The posts were exported to and imported from the WordPress-native WXR format, which is an XML file that doesn't even contain any of the original post IDs. When the posts are imported, they get unique post IDs on the new blog as if they were simply new (backdated) posts.

    I'm sure this problem has more to do with search index caching. For instance, new posts that are posted the normal way get cached to the search index, but new posts that are added via an import from a WXR file are not cached to the search index. I can see how search indexing could be very easy to overlook when designing and implementing an import process as complicated as WordPress's must be.

    If there were simply a way to clear the search index cache and force the whole blog to re-index itself, that would probably solve the problem.

  6. tommyill
    Member
    Posted 7 years ago #

    I also need to find out how to re-index site for search. Since upgrading to 2.1 only new posts are coming up in search for me.

  7. tommyill
    Member
    Posted 7 years ago #

    I installed the SEM Search Reloaded plugin, and it apparently reindexed the site.
    http://www.semiologic.com/software/search-reloaded/

  8. aychseven
    Member
    Posted 7 years ago #

    good find! with this plugin active, the search works like it should. thanks!

  9. jlencion
    Member
    Posted 7 years ago #

    Hooray! This fixed all of my problems as well. :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags