Patent ID: 8914355

Claim:
A method comprising: receiving, by one or more computers and from a user device, a search query; obtaining, by the one or more computers, device information that indicates a memory constraint of the user device; after receiving the search query and obtaining the device information, performing, by the one or more computers, a search to identify data that is responsive to the search query; determining, by the one or more computers, whether the data includes textual data; summarizing, by the one or more computers and when the data includes the textual data, a plurality of portions of the textual data to generate textual information, an amount of the textual information that is generated being based on the memory constraint of the user device, and the summarizing including: identifying a first sentence of each portion of the plurality of portions of the textual data, and forming a snippet, based on the first sentence of each portion to generate the textual information; generating, by the one or more computers, a search result, the search result including the data when the data does not include the textual data, and the search result including the textual information when the data includes the textual data; and providing, by the one or more computers, the search result as a response to the search query.