C5's Search

Permalink
Right now C5's search is kinda iffy, right now it can index by area, which is ok i guess, but what i propose, is that similar to the new caching feature for blocks, that there is a new protected variable to see if the block is searchable, for example the autonav block, you don't want it searchable, but the content block you do,

also a user override would be nice, something per block on a page where the user can toggle if that block is searchable or not,

Thanks for the idea from the live show! it was great!

Mike

Mnkras
 
andrew replied on at Permalink Reply
andrew
This mostly already exists. Your block's won't be searched unless they have a getSearchableContent() method in them, that returns text to the indexer. Otherwise we don't know how to grab the content of the block.
Mnkras replied on at Permalink Reply
Mnkras
oh, cool! what about non text things like alt text for images?