is there a way to include content blocks from site search
my website users elemental blocks. however, my site search does not search the text from my blocks.
That's more for #search , but yes, I think it's to add the "ElementalForSearch" not-really-a-field to your index
Note, it struggles to pick up changes in my experience. So changing an Element does not trigger an immediate update to the index for some reason.... This might have something to do with the DB layer FTS uses and I'm trying to figure it out for my rewrite
ElementalForSearch ? Is it an add-on? I can’t find it in SilverStripe add ons.
No, it's part of Elemental
It's a method provided by the base Elemental module
aha. but how do I implement it from SilverStripe’s default site search?
it’s in ElementalSolrIndex class. but I don’t know I have no idea how to use it