# US 8,577,878 B1 · Filtering search results using annotations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,577,878 B1
- Document ID: US8577878B1
- Status: Granted
- Kind: B1
- Application number: 13/620,661
- Filed: 2012-09-14
- Granted: 2013-11-05
- Earliest claimed: 2006-05-09
- Assignees: Google Inc.
- Applicants: Patrick F. Riley; Ramanathan Guha
- Inventors: Patrick F. Riley; Ramanathan Guha
- Web page: https://patentgrep.com/patent/US8577878B1

## CPC

- G06F 16/24573: {using data annotations, e.g. user-defined metadata}
- Y10S 707/99933: Query processing, i.e. searching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

A search engine system accepts queries that include query terms and labels applicable to certain documents. A domain filter is constructed that is used to filter search results to certain domains, where the domains are determined based on the labels included in the query. The filtered search results are processed to ensure that certain portions of the results are from domains included in the filter. The results are further processed to include the query labels with certain ones of the results.

## Claims

### Claim 1

A method performed by a data processing apparatus, the method comprising:
receiving a search query comprising one or more query terms and one or more labels;
obtaining a plurality of search results responsive to the query terms, wherein each of the search results has a respective score, and wherein the plurality of search results are ranked according to the respective scores;
filtering a specified number of the search results in ranked order based on a respective uniform resource locator of each search result to form a plurality of filtered search results;
annotating each filtered search result of the plurality of search results with one or more of the labels that are associated with uniform resource locator patterns that match the respective uniform resource locators of the filtered search results;
modifying the respective score of one or more of the annotated search results wherein modifying the score of the annotated search result comprises adjusting the score by a weight associated with a label annotation of the annotated search result; and
ranking the annotated search results based on the one or more modified scores.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
providing the ranked annotated search results as a response to the received search query.

### Claim 3 (depends on 1)

The method of claim 1, wherein modifying the score of the annotated search result further comprises adjusting the score by a second weight associated with a second label annotation of the annotated search result.

### Claim 4 (depends on 1)

The method of claim 1, wherein the filtering further comprises:
creating a domain filter that identifies domains of documents that are known to have labels that match a label of the one or more labels of the search query.

### Claim 5 (depends on 4)

The method of claim 4, wherein creating the domain filter is based on selecting annotations that have labels that match the one or more labels of the search query, wherein the annotations include respective domains.

### Claim 6 (depends on 5)

The method of claim 5, wherein each annotation includes a pattern for a uniform resource locator and a label to be applied to a document whose uniform resourced locator matches the pattern.

### Claim 7 (depends on 4)

The method of claim 4, wherein filtering the search results includes a domain prefix of the documents in the search results to domain prefixes included in the domain filter.

### Claim 8 (depends on 7)

The method of claim 7, wherein the filtering is performed such that a predetermined minimum portion of the search results match the domain prefixes in the domain filter.

### Claim 9 (depends on 1)

The method of claim 1, comprising:
determining that the received search query includes one or more labels based on identifying a specific token in the search query.

### Claim 10

A system comprising:
one or more computers configured to perform operations comprising:
receiving a search query comprising one or more query terms and one or more labels;
obtaining a plurality of search results responsive to the query terms, wherein each of the search results has a respective score, and wherein the plurality of search results are ranked according to the respective scores;
filtering a specified number of the search results in ranked order based on a respective uniform resource locator of each search result to form a plurality of filtered search results;
annotating each filtered search result of the plurality of search results with one or more of the labels that are associated with uniform resource locator patterns that match the respective uniform resource locators of the filtered search results;
modifying the respective score of one or more of the annotated search results wherein modifying the score of the annotated search result comprises adjusting the score by a weight associated with a label annotation of the annotated search result; and
ranking the annotated search results based on the one or more modified scores.

### Claim 11 (depends on 10)

The system of claim 10, configured to perform operations comprising:
providing the ranked annotated search results as a response to the received search query.

### Claim 12 (depends on 10)

The system of claim 10, wherein modifying the score of the annotated search result further comprises adjusting the score by a second weight associated with a second label annotation of the annotated search result.

### Claim 13 (depends on 10)

The system of claim 10, wherein the filtering further comprises:
creating a domain filter that identifies domains of documents that are known to have labels that match a label of the one or more labels of the search query.

### Claim 14 (depends on 13)

The system of claim 13, wherein creating the domain filter is based on selecting annotations that have labels that match the one or more labels of the search query, wherein the annotations include respective domains.

### Claim 15 (depends on 14)

The system of claim 14, wherein each annotation includes a pattern for a uniform resource locator and a label to be applied to a document whose uniform resourced locator matches the pattern.

### Claim 16 (depends on 13)

The system of claim 13, wherein filtering the search results includes a domain prefix of the documents in the search results to domain prefixes included in the domain filter.

### Claim 17 (depends on 16)

The system of claim 16, wherein the filtering is performed such that a predetermined minimum portion of the search results match the domain prefixes in the domain filter.

### Claim 18 (depends on 10)

The system of claim 10, configured to perform operations comprising:
determining that the received search query includes one or more labels based on identifying a specific token in the search query.

### Claim 19

A non-transitory computer readable storage medium encoded with a computer program, the program comprising instructions that when executed by one or more computers cause the one or more computers to perform operations comprising:
receiving a search query comprising one or more query terms and one or more labels;
obtaining a plurality of search results responsive to the query terms, wherein each of the search results has a respective score, and wherein the plurality of search results are ranked according to the respective scores;
filtering a specified number of the search results in ranked order based on a respective uniform resource locator of each search result to form a plurality of filtered search results;
annotating each filtered search result of the plurality of search results with one or more of the labels that are associated with uniform resource locator patterns that match the respective uniform resource locators of the filtered search results;
modifying the respective score of one or more of the annotated search results wherein modifying the score of the annotated search result comprises adjusting the score by a weight associated with a label annotation of the annotated search result; and
ranking the annotated search results based on the one or more modified scores.
