1. A system comprising: a client device; and a computer-readable medium coupled to the client device having instructions stored thereon which, when executed by the client device, cause the client device to perform operations comprising: receiving a resource from a server; selecting one or more nodes of a Document Object Model (DOM) tree for the resource; determining that the selected nodes exhibit one or more predefined traits that are characteristic of boilerplate content, wherein boilerplate content comprises content that is repeated in multiple resources of a particular web site; adjusting a boilerplate content score associated with the selected nodes responsive to determining that the selected nodes exhibit the predefined traits that are characteristic of boilerplate content; and providing information to a query recommendation engine, the information including textual content associated with the selected nodes, and the information identifying the adjusted boilerplate content score associated with the selected nodes.
1. A system comprising: a client device; and a computer-readable medium coupled to the client device having instructions stored thereon which, when executed by the client device, cause the client device to perform operations comprising: receiving a resource from a server; selecting one or more nodes of a Document Object Model (DOM) tree for the resource; determining that the selected nodes exhibit one or more predefined traits that are characteristic of boilerplate content, wherein boilerplate content comprises content that is repeated in multiple resources of a particular web site; adjusting a boilerplate content score associated with the selected nodes responsive to determining that the selected nodes exhibit the predefined traits that are characteristic of boilerplate content; and providing information to a query recommendation engine, the information including textual content associated with the selected nodes, and the information identifying the adjusted boilerplate content score associated with the selected nodes. 17. The system of claim 1 , wherein the operations further comprise: copying, during each of two or more time slices, different portions of the Document Object Model (DOM) tree until a complete copy of the DOM tree is obtained, wherein selecting the nodes of the DOM tree further comprises selecting the nodes from the copy of the DOM tree, using a background thread.