6. The one or more computer-readable media of claim 1 , wherein the acts further comprise analyzing the modified query to determine the intent of the query based on one or more search models, the one or more search models being generated by analyzing historical search data and the relationship data.
1. One or more computer-readable media storing computer-executable instructions that, when executed by one or more processors, instruct the one or more processors to perform acts comprising: receiving a query including a string; replacing a first portion of the string with a label of a category of relationship data to generate a modified query when the first portion of the string matches with metadata of the category of the relationship data in a predetermined order; regarding a second portion of the string as an intended word of the received query that indicates an intent of the received query and keeping the second portion of the string in the received query without replacement when the second portion of the string matches with at least one intended word in a dictionary associated with the category of the relationship data, the at least one intended word indicating a user intent; and performing a search based at least in part on the modified query.