After seeing some weird hits in my Relevanssi search results I found the following:
http://wordpress.org/support/topic/searching-with-relevanssi-shows-all-revisions
I ran the following on my WordPress database:
SELECT * FROM `wp_posts`
WHERE (`post_name` LIKE "%revision%" OR `post_name` LIKE "%autosave%")
AND `post_status` = "inherit"
AND `post_parent` !=0
AND `post_type` != "revision"
It returned almost 2,000 rows. This means that many of the "revision" records in my wp_posts table are ending up with the wrong post type.
http://codex.wordpress.org/Revision_Management currently states the following:
Revisions are stored as children of their associated post (the same thing we do for attachments). They are given a post_status of 'inherit', a post_type of 'revision', and a post_name of {parent ID}- revision(-#) for regular revisions and {parent ID}-autosave for autosaves.
In my case these revision records are maintaining the original post type such as "page" or "my-custom-post-type" instead of being changed to "revision."
Any ideas why these records have the wrong post type? I read it may have to do with my custom post type definitions, but if so, why is it happening with "page" records as well?