• Resolved mkdev

    (@mkdev)


    I have a setup using FSE (block theme). Search works (in admin or frontend), but only looks at the titles, ignoring completely the content event if they have the same weight.

    For example if I have ABC in the title, it will give all those results, but non of where ABC is in the content.
    If I have ABC only in the content, it will give zero results.

    • This topic was modified 2 years ago by mkdev.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Looks like the content isn’t indexed. Try checking one of the posts with the Relevanssi debugger. Do you see any content there? You can find the debugger in the Relevanssi settings.

    What kind of blocks are you using for the content? Regular paragraph blocks or something else?

    Thread Starter mkdev

    (@mkdev)

    Hi Mikko,
    Indeed just the title appears in the debugger. (but I have ran the indexer multiple times)
    When I run the check, how it appears in the database, it does see it all.

    Yes, it’s default blocks (paragraph and list ones mainly). Wondering if it has anything to do with the way blocks are marked up in the database (with those comments like <!– wp:paragraph {“fontSize”:”medium”} –>)

    Plugin Author Mikko Saari

    (@msaari)

    Ok, there’s some problem in the indexing. Your theme can’t have anything to do about it, since the theme is not considered at all when indexing.

    Relevanssi doesn’t have any problems with blocks in general. Indexing basic paragraphs should be straightforward. Relevanssi uses the default WP functions to render the blocks, so if it displays fine on your site, Relevanssi should see it as well.

    Do you have any custom functions that are related to Relevanssi? Have you tried deactivating other plugins to see if any of those are causing this problem?

    Thread Starter mkdev

    (@mkdev)

    Thanks Mikko! Indeed is caused by a blocks collection plugin. With that disabled it works as expected.

    • This reply was modified 2 years ago by mkdev.
    Plugin Author Mikko Saari

    (@msaari)

    Which block collection plugin that is? I can see if there’s some weird compatibility issue Relevanssi should care about.

    Thread Starter mkdev

    (@mkdev)

    it’s Cwicly. (there isn’t a free version in the repository)

    Plugin Author Mikko Saari

    (@msaari)

    Ok, in that case there’s nothing I can do about it. It’s possible that some of their optimization makes it incompatible with Relevanssi. Notifying their support about this problem might be helpful, but they also may throw their hands up and say they don’t care.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Weight on Content it’s not taken into account’ is closed to new replies.