• I am not getting any results from my comments. It looks like none of my comments are being displayed in the search results. I have Comment Text weight to 5 and Index and search these comments is set to all. I am search on an exact phrase, this phrase exists in my posts and my comments. It finds all the results for posts but doesn’t for the comments. I am unsure why this is.

    https://wordpress.org/plugins/relevanssi/

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

    (@msaari)

    Comments will never appear in the search results by themselves. Instead, the comment search works so that whenever the search matches a comment, the post with the comment appears in the results. Relevanssi cannot handle comments as individual objects.

    So, a feature, not a bug.

    Thread Starter tc66tc

    (@tc66tc)

    Sorry, for clarification I mean it is not pulling in the posts with the comments in them that match the search. I have a phrase that is in the comments section of the post but that post is not showing up in the results.

    Plugin Author Mikko Saari

    (@msaari)

    If by exact phrase you mean the “” operator, that doesn’t work with comments.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments not being searched’ is closed to new replies.