• Resolved Rado

    (@jeriksson)


    Hello,

    I have useful excerpt data but i don’t wish to index entire post content data, is there anyway to index only excerpt data but skip the full post content data?

    When using filter:

    add_filter(‘relevanssi_index_content’, ‘contentoff’);
    function contentoff() {
    return false;
    }

    No data gets indexed from the post excerpt even though the option is ticked, is there anyway i can go about to only index post excerpt but not the full post content?

    Thank you!

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

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

    (@msaari)

    The content block filter doesn’t block excerpt indexing, so the problem is something else. Have you rebuilt the index after checking the option?

    Try adding a non-existing word to an excerpt and then search for it to make sure excerpt indexing is not working.

    Thread Starter Rado

    (@jeriksson)

    Ah i see whats going on here, there’s no actual excerpt data in the database, the theme just pulls the first 40 letters of each posts and them trims the rest making it look like there’s an excerpt but when you look inside the post edit excerpt window it’s empty.

    I’ll figure out a way to populate this automatically based on post content. Thanks for a wonderful plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Got a question about indexing of excerpts with premium version’ is closed to new replies.