How to create a AEM Search component. I need the logic and code for the following parts.
These are all readily available as part of the open-source Core Components Search: