I have used below code for making blocks searchable.
ContentIndexer.Instance.Conventions.ForInstancesOf<BlockData>().ShouldIndex(x => true);
Why specific blocks are not searchable in edit mode?
Read more here:https://world.episerver.com/documentation/developer-guides/find/Integration/episerver-cms-7-5-with-updates/Indexing-content-in-a-content-area/
Could they be excluded from the index somewhere else in the code? Have you checked initializable modules?
There is a problem in code itself.
Efrain285, Can you please elaborate? What is the correct version of the code?
Have you checked the checkbox of "Blocks" in the "Search Configuration"? Please see below screenshot for your reference
Is that setting is related to search functionality of Episerver? I mean it's related to internal search?
May be I am wrong, but may be it's related to the search boxes we see in CMS.
Lata, Are you using Epi Find? If so, which version?
Is this for FIND or the out of the box Lucene search? If it's the out of the box search, I don't believe blocks are searchable.