7. The method of claim 1 , further comprising determining one or more search intents of the query based at least on whether one or more of the n-grams in the query match terms corresponding to a search intent indexed in a pattern-detection model.
7. The method of claim 1 , further comprising determining one or more search intents of the query based at least on whether one or more of the n-grams in the query match terms corresponding to a search intent indexed in a pattern-detection model. 8. The method of claim 7 , further comprising scoring the search results based on one or more of the search intents.