# US 2016/0259785 A1 · Dynamic threshold gates for indexing queues

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

- Number: US 2016/0259785 A1
- Document ID: US20160259785A1
- Status: Published application
- Kind: A1
- Application number: 14/635,093
- Filed: 2015-03-02
- Published: 2016-09-08
- Earliest claimed: 2015-03-02
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Kevin Lane Brown; Anatoly Grabar
- Web page: https://patentgrep.com/patent/US20160259785A1

## CPC

- G06F 16/11: File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14)
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/2228: {Indexing structures}
- G06F 16/2272: {Management thereof}
- G06F 16/316: {Indexing structures}
- G06F 16/319: {Inverted lists}
- G06F 16/332: Query formulation
- G06F 16/901: Indexing; Data structures therefor; Storage structures (for retrieval from the web G06F16/951)
- H04L 67/1023: based on a hash applied to IP addresses or costs
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Electronic files are selectively assigned to a plurality of different indexing queues by one or more dynamic throughput threshold gates based on characteristics of the different indexing queues as well as the static file characteristics associated with each of the files. The files are then indexed. Upon detecting a change in a dynamic characteristic of one or more indexed files, the throughput threshold gate(s) are then modified to obtain, maintain or modify a desired throughput for one or more of the indexing queues.

## Claims

### Claim 1

A computing system comprising:
at least one processor;
at least one storage medium having stored computer-executable instructions which, when executed by the at least one processor, implement a method dynamically modifying throughput thresholds for indexing queues, the method including:
an act of identifying a throughput threshold gate for indexing files, the throughput threshold gate specifying throughput threshold requirements for assigning new files to different indexing queues based on static file characteristics of the new files, the different indexing queues including a primary indexing queue and one or more secondary indexing queues;
an act of identifying a file having particular static file characteristics;
an act of determining the particular static file characteristics;
an act of assigning the file to either the primary indexing queue or the one or more secondary indexing queues based on the throughput threshold and the particular static file characteristics of the file;
an act of detecting a change in a dynamic characteristic of one or more indexed files; and
based on the detected change in the dynamic characteristic of the one or more indexed files, dynamically modifying the throughput threshold gate.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the particular static file characteristics comprise at least a file size and a file type.

### Claim 3 (depends on 2)

The computing system of claim 2, wherein the particular static file characteristics further include a mixed content characteristic in which the file contains two different types of content, the two different types of content including index eligible content and index ineligible content.

### Claim 4 (depends on 3)

The computing system of claim 3, wherein the act of determining the particular static file characteristics includes determining how much index eligible content is contained within the file.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein the method further includes modifying the throughput threshold gate only after first detecting that the change in the dynamic characteristic persists for a predetermined period of time.

### Claim 6 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected decrease in a time to index one or more files that causes an average or absolute value of the time to index to rise above a predetermined threshold and wherein modifying the throughput threshold gate comprises changing the throughput threshold requirements by decreasing indexing parameters associated with the primary indexing queue so that fewer files are assigned to the primary indexing queue.

### Claim 7 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected decrease in file freshness and wherein modifying the throughput threshold gate comprises changing the throughput threshold requirements by increasing indexing parameters associated with the primary indexing queue so that fewer files are assigned to the primary indexing queue.

### Claim 8 (depends on 7)

The computing system of claim 7, wherein the detected decrease in file freshness is a decrease that causes the file freshness to fall below a predetermined threshold for at least a predetermined period of time.

### Claim 9 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected increase in file freshness and wherein modifying the throughput threshold gate comprises changing the throughput threshold requirements by decreasing indexing parameters associated with the primary indexing queue so that fewer files are assigned to the primary indexing queue.

### Claim 10 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected decrease in a particular file type being indexed and wherein modifying the throughput threshold gate comprises changing throughput threshold requirements for the primary indexing queue so that more files of the particular file type are assigned to the primary indexing queue.

### Claim 11 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected decrease in quantity of files being indexed for a particular node in a distributed system and wherein modifying the throughput threshold gate comprises changing throughput threshold requirements for the primary indexing queue so that more files of the particular node are assigned to the primary indexing queue.

### Claim 12 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected decrease in files of a particular size being indexed and wherein modifying the throughput threshold gate comprises changing throughput threshold requirements for the primary indexing queue so that more files of the particular size are assigned to the primary indexing queue.

### Claim 13 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected decrease in working set accuracy corresponding to one or more search results against a working set of documents and wherein modifying the throughput threshold gate comprises changing throughput threshold requirements for the primary indexing queue so that more files of a particular working set are assigned to the primary indexing queue.

### Claim 14 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected decrease in processing capabilities of the computing system and wherein modifying the throughput threshold gate comprises changing throughput threshold requirements for the primary indexing queue so that fewer files are assigned to the primary indexing queue.

### Claim 15 (depends on 1)

The computing system of claim 1, wherein the one or more secondary queues includes a plurality of secondary queues that each have different throughput threshold requirements corresponding to the static file characteristics.

### Claim 16 (depends on 1)

The computing system of claim 1, wherein the method further includes, prior to modifying the throughput threshold, comparing the detected change to one or more historical precedents associated with the detected change to determine that the detected change exceeds the one or more historical precedents.

### Claim 17 (depends on 1)

The computing system of claim 1, wherein the method further includes, prior to modifying the throughput threshold gate, notifying a user of the detected change and waiting until the user provides user input that is operable to cause the modifying of the throughput threshold gate.

### Claim 18 (depends on 1)

The computing system of claim 1, wherein the detected change is a detected decrease in a percentage of newly created files being indexed relative to files that are older than the newly created files being indexed and wherein modifying the throughput threshold comprises changing throughput threshold requirements for the primary indexing queue so that fewer of the older files are assigned to the primary indexing queue.

### Claim 19

One or more hardware storage device having stored computer-executable instructions which, when executed by the at least one processor of a computer system, implement a method for dynamically modifying throughput thresholds for indexing queues, the method including:
an act of identifying a throughput threshold gate for indexing files, the throughput threshold gate specifying requirements for assigning new files to different indexing queues based on static file characteristics of the new files, the different indexing queues including a primary indexing queue and one or more secondary indexing queues;
an act of identifying a file having particular static file characteristics;
an act of determining the particular static file characteristics;
an act of the throughput threshold gate assigning the file to either the primary indexing queue or the one or more secondary indexing queues based on the throughput threshold requirements and the particular static file characteristics of the file;
an act of detecting a change in a dynamic characteristic of one or more indexed files; and
based on the detected change in the dynamic characteristic of the one or more indexed files, modifying the throughput threshold gate to specify different throughput threshold requirements.

### Claim 20

A computing system comprising:
at least one processor;
at least one storage medium having stored computer-executable instructions which, when executed by the at least one processor, implement a method for dynamically modifying throughput thresholds for indexing queues, the method including:
an act of identifying throughput thresholds for indexing files, the throughput thresholds specifying requirements for assigning new files to different indexing queues based on static file characteristics of the new files, the different indexing queues including a primary indexing queue and one or more secondary indexing queues;
an act of identifying one or more value of one or more indexing variables;
an act of determining that a change is needed for at least one of the throughput thresholds based at least in part on determining the one or more value is outside of a predetermined range associated with a historical data value and upon determining a time threshold has been exceeded in which the one or more value is outside of the predetermined range associated with the historical data value; and
an act of modifying the throughput threshold such that different requirements are required for a new file to be assigned to the primary indexing queue or the one or more secondary indexing queues.
