# US 2012/0254148 A1 · Serving multiple search indexes

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

- Number: US 2012/0254148 A1
- Document ID: US20120254148A1
- Status: Published application
- Kind: A1
- Application number: 13/073,283
- Filed: 2011-03-28
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: Microsoft Corporation
- Inventors: JIANYONG XIAO; YI LI; YANBIAO ZHAO; XUN KANG; PIN LU; ASHISH CONSUL
- Web page: https://patentgrep.com/patent/US20120254148A1

## CPC

- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/2458: Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Multiple search indexes can be served from a common set of resources. Instead of requiring a processor to be dedicated to serving a single search index, a processor can provide responsive documents for search queries that are based on different ranking algorithms and/or different sets of documents.

## Claims

### Claim 1

One or more computer-storage media storing computer-useable instructions that, when executed by a computing device, perform a method for serving multiple search indexes from a processor, comprising:
running a first search service and a second search service on a processor, the first search service and second search service having different ranking algorithms, the processor having access to a subset of the document chunks associated with the first search service and a subset of the document chunks associated with the second search service;
receiving at least a portion of a search query;
selecting a search service for responding to the at least a portion of a search query;
processing the at least a portion of a search query using the selected search service to generate a plurality of responsive documents; and
forwarding the plurality of responsive documents to an aggregator associated with the selected search service.

### Claim 2 (depends on 1)

The computer-storage media of claim 1, wherein selecting a search service comprises determining a port used for receiving the at least a portion of a search query.

### Claim 3 (depends on 1)

The computer-storage media of claim 1, further comprising parsing the at least a portion of a search query to form a plurality of keywords and/or tokens.

### Claim 4 (depends on 3)

The computer-storage media of claim 3, wherein selecting a search service comprises determining a search service based on at least one keyword or token from the parsed search query.

### Claim 5 (depends on 1)

The computer-storage media of claim 1, wherein the subset of document chunks associated with the first search service is different from the subset of document chunks associated with the second search service.

### Claim 6 (depends on 1)

The computer-storage media of claim 1, wherein selecting a search service comprises
designating the first search service as an active search service, the first search service being active when the at least a portion of a search query is received; and
selecting the first search service.

### Claim 7 (depends on 6)

The computer-storage media of claim 6, further comprising:
designating the second search service as an active search service;
receiving at least a portion of a second search query;
processing the at least a portion of the second search query using the second search service to generate a second plurality of responsive documents, the processing of the at least a portion of the second search query being performed in parallel with the processing of the at least a portion of the first search query; and
forwarding the second plurality of responsive documents to an aggregator associated with the second search service.

### Claim 8

One or more computer-storage media storing computer-useable instructions that, when executed by a computing device, perform a method for serving multiple search indexes from a processor, comprising:
receiving a first group of document chunks;
merging the first group of document chunks to form a first merged index, the first merged index being corresponding to a first search index;
storing the first merged index in storage associated with a processor;
receiving a second group of document chunks;
merging the second group of document chunks to form a second merged index, the second merged index being corresponding to a second search index;
storing the second merged index in the storage associated with the processor while retaining the first merged index in the storage associated with the processor;
receiving at least a portion of a search query;
selecting the first merged index or the second merged index; and
returning documents responsive to the at least a portion of a search query based on matching the at least a portion of a search query with documents from the selected index.

### Claim 9 (depends on 8)

The computer-storage media of claim 8, wherein the first group of document chunks is different from the second group of document chunks.

### Claim 10 (depends on 8)

The computer-storage media of claim 8, further comprising parsing the at least a portion of a search query to form a plurality of keywords and/or tokens, and wherein selecting the first merged index or the second merged index comprises selecting an index based on at least one keyword or token from the parsed query.

### Claim 11 (depends on 8)

The computer-storage media of claim 8, wherein selecting the first merged index or the second merged index comprises designating the first merged index as an active index, the first merged index being active when the at least a portion of a search query is received; and
selecting the first merged index.

### Claim 12

One or more computer-storage media storing computer-useable instructions that, when executed by a computing device, perform a method for providing results responsive to a search query, comprising:
receiving a first search query;
identifying a first search index corresponding to the first search query;
distributing at least a portion of the first search query to a plurality of processors associated with the first search index;
receiving results responsive to the first search query from the plurality of processors associated with the first search index;
ranking the results responsive to the first search query;
providing the ranked responsive results in response to the first search query;
receiving a second search query;
identifying a second search index corresponding to the second search query;
distributing at least a portion of the second search query to a plurality of processors associated with the second search index, at least one of the processors being associated with both the first search index and the second search index;
receiving results responsive to the second search query from the plurality of processors associated with the second search index;
ranking the results responsive to the second search query; and
providing the ranked responsive results in response to the second search query.

### Claim 13 (depends on 12)

The computer-storage media of claim 12, further comprising parsing the first search query to form a plurality of keywords and/or tokens.

### Claim 14 (depends on 13)

The computer-storage media of claim 13, wherein identifying the first search index corresponding to the first search query comprises identifying an index based on at least one keyword or token from the parsed query.

### Claim 15 (depends on 13)

The computer-storage media of claim 13, wherein distributing at least a portion of the first search query to a plurality of processors comprises distributing at least one keyword or token from the parsed query to the plurality of processors.

### Claim 16 (depends on 12)

The computer-storage media of claim 12, wherein distributing the at least a portion of the second search query is performed in parallel with distributing the at least a portion of the first search query.

### Claim 17 (depends on 12)

The computer-storage media of claim 12, wherein a plurality of processors are associated with both the first search index and the second search index.

### Claim 18 (depends on 12)

The computer-storage media of claim 12, wherein a ranking algorithm for ranking results responsive to the first search query is different from a ranking algorithm for ranking results responsive to the second search query.

### Claim 19 (depends on 12)

The computer-storage media of claim 12, wherein providing the ranked responsive results to the first search query comprises displaying the ranked responsive results to a user that initiated the first search query.

### Claim 20 (depends on 12)

The computer-storage media of claim 12, wherein ranking the results responsive to the first search query comprises merging results received from the first plurality of processors to form an aggregated ranked list of results.
