This package makes it easy to get structured searches from a variety of sources. Here's an example where we search through some models. We already did some small preparation on the models themselves. The search will be performed case insensitive. $searchResults now contains all User models that contain john in the name attribute and BlogPosts that contain 'john' in the title attribute.