In order to interact with the database, hybris provides a flexible search module which makes it easy to write queries on the hybris data type instead of a database table directly.