1. A computer-implemented method comprising: parsing, using at least one processor, documents from authoritative sources to generate heading-text pairs, a heading-text pair being taken from document contents; for each heading-text pair: associating, using the at least one processor, the heading-text pair with an intent template of a plurality of intent templates, the associated intent template having an associated question category, determining a topic and a question category for the heading-text pair based on the associated intent template, and storing the heading-text pair in a data store keyed by topic and question category; determining that a query corresponds to a first intent template of the plurality of intent templates, the first intent template having a respective question category; determining a first topic for the query based on the first intent template; retrieving a heading-text pair from the data store that has a topic and question category key that corresponds with the first topic and respective question category; and providing a search result for the query, wherein the search result includes the retrieved heading-text pair.
1. A computer-implemented method comprising: parsing, using at least one processor, documents from authoritative sources to generate heading-text pairs, a heading-text pair being taken from document contents; for each heading-text pair: associating, using the at least one processor, the heading-text pair with an intent template of a plurality of intent templates, the associated intent template having an associated question category, determining a topic and a question category for the heading-text pair based on the associated intent template, and storing the heading-text pair in a data store keyed by topic and question category; determining that a query corresponds to a first intent template of the plurality of intent templates, the first intent template having a respective question category; determining a first topic for the query based on the first intent template; retrieving a heading-text pair from the data store that has a topic and question category key that corresponds with the first topic and respective question category; and providing a search result for the query, wherein the search result includes the retrieved heading-text pair. 3. The method of claim 1 , wherein corresponding the query to the first intent template includes: generating potential templates from terms of the query; and determining whether one of the potential templates corresponds to the first intent template.