Function useSearch

The useSearch hook returns the search context.