Search on custom fields

It would be a good feature to be able to search on custom fields.

Example:
Search all types where my custom boolean == true or false