Currently the API for searching objects by name that can be filtered by the type of the objects.
We want to introduce a flag that can have three settings:
- only return objects with that exact type
- return objects of that type and functions that return objects of that type
- return objects of that type, functions that return objects of that type, and functions that return objects of any type
Let one of these be a default.
The result should rank them together in a single list. Each result should state its type (so we can mark up functions)