Support » Plugin: Relevanssi - A Better Search » no results on indexed words

  • Resolved mahi38

    (@mahi38)


    Hi,
    The website seems to be correctly indexed. When I search for ‘bilan’ I expect to find 4 posts in which this word is listed. I followed your debug instructions found here : https://www.relevanssi.com/knowledge-base/debugging-relevanssi-searching-issues/. The $query command run manually in phpMyAdmin is correct and returns the 4 expected results. However relevanssi_do_query( $query ) returns 0 posts ?!
    What can be the reason for that ?
    thank you

    add_filter( 'relevanssi_query_filter', 'rlv_check_mysql' );
    function rlv_check_mysql( $query ) {
        var_dump( $query );
        echo "<br>posts : ";
        $posts = relevanssi_do_query( $query );
        var_dump( $posts );
        exit();
    }

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • mahi38

    (@mahi38)

    In the Search Tab I modified the weight on Content from 0 to 1 and now I get 3 search results for ‘bilan’ which is better.

    Plugin Author Mikko Saari

    (@msaari)

    What is the fourth result that should be found? Any category restrictions, post type restrictions or something like that that could be blocking it?

    mahi38

    (@mahi38)

    Hello Mikko,
    It is a draft, so the issue is resolved.
    Thank you for the support follow-up
    Marc

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.