Support » Plugin: Relevanssi - A Better Search » Search Result includes Autosave

  • Relevenssi plugin is showing autosaved pages (revisions) in search results. How to exclude them? Note, I am loading the search result via ajax, I am doing custom query.

    I am not finding any ways to debug them. Could you guide me how to start debugging.

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari


    Relevanssi should never index revisions in the first place, it’s not allowed to do that. There’s a post type conversion plugin that when used, changes the post type of revisions in a way that they are included in the search. That’s one explanation.

    So the first thing I’d do is to check wp_posts database table to see that your revisions actually have revision as the post type. If they have, Relevanssi should never index them.

    How are you doing the AJAX search results? Have you written the code yourself? Many AJAX search solutions are not compatible with Relevanssi, so it’s worth checking out if that’s the case here. Are the results from Relevanssi in the first place?

Viewing 1 replies (of 1 total)
  • The topic ‘Search Result includes Autosave’ is closed to new replies.