Patent Document ID: 9792357
Application ID: 14022980

Base Claim:
1. A method comprising: receiving, by an electronic device, a search query for searching an attribute within a document; providing, for display within a graphical user interface, a plurality of search results matching the attribute in a plurality of snippets, wherein each snippet of the plurality of snippets displays a portion of content from the document, and wherein each portion of content comprises at least one result from the plurality of search results matching the attribute; receiving, based on a user interaction with the graphical user interface, a first user input with respect to a first snippet of the plurality of snippets, wherein the first snippet comprises a first portion of content from the document, and wherein the first portion of content comprises multiple result instances from the plurality of search results; based on receiving the first user input with respect to the first snippet: determining a proximity within the document between two adjacent result instances of the multiple result instances within the first snippet; and further determining a required display space within the graphical user interface for splitting the first snippet into one or more additional snippets, wherein a given size of a display space is based at least in part on a number of result instances comprised in a given snippet; determining that the proximity between the two adjacent result instances is outside a proximity threshold; determining that the required display space within the graphical user interface is within an acceptable range; based on determining that the proximity between the two adjacent result instances is outside the proximity threshold and further based on determining that the required display space within the graphical user interface is within an acceptable range, splitting the first snippet into one or more additional snippets; and providing, for display within the graphical user interface, the one or more additional snippets, wherein each of the one or more additional snippets comprises one or more result instances from among the multiple result instances within the first snippet.

---

Claim 2:
2. The method as claimed in claim 1 , wherein providing for display the plurality of search results comprises grouping the plurality of search results into the plurality of snippets based on at least one of: a proximity of the plurality of search results with each other within the document or a location of the plurality of search results in the document.