1. A method comprising: receiving a document from a user device; analyzing the document to extract a plurality of values having corresponding attributes associated with attribute-value pairs in one or more domain models, wherein the analysis is based at least in part on associating the document with the one or more domain models of a plurality of domain models generated through analysis of a plurality of documents from one or more corpora and using an ontology associated with the one or more domain models to determine one or more attributes from the document, wherein the ontology includes terms relevant to particular domains corresponding to the one or more domain models, and wherein the attributes from the document are associated with particular terms of the ontology; associating the determined one or more attributes with the document; and using the associated attributes to generate search results responsive to a received search query.