Use attached project (DerivedComponents.zip)
1- Open Search Indexer (Window -> Search -> Indexer)
2- Validate that in the tab keywords both t:basescript and t:derivedscript are there (see screenshot for reference)
3- Open search window.
4- Type t:basescript -> see that there is a result displayed (See screenshot)
5- Type t:derivedscript -> see that there is a result displayed (See screenshot)