With all the theory we just discussed, it's time to put the wheels in motion. With the knowledge we gained so far in this chapter, we can build a simple search-driven application that will use query rules to react to users' intentions.
First, let's get our infrastructure in order and create two new sites as follows:
A team site called
Video Games Center
that will host the content for our search-driven applicationA search center site that we will use to create the search logic on
In order to show search results, we first need something to search for. Let's follow the ensuing steps to pour some content into our newly added team site:
Navigate to the newly added team site and add the following apps:
A picture library named
VideoGamesImages
A document library named
VideoGamesDocuments
Once both the libraries have been created, rename them to
Video Games Center Images
andVideo Games Center Documents
respectively.From the downloadable content...