# US 2008/0306911 A1 · Ordered index

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

- Number: US 2008/0306911 A1
- Document ID: US20080306911A1
- Status: Published application
- Kind: A1
- Application number: 11/760,682
- Filed: 2007-06-08
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Assignees: Apple Inc.
- Inventors: Wayne Loofbourrow; John Martin Hoernkvist; Eric Richard Koebler; Yan Arrouye
- Web page: https://patentgrep.com/patent/US20080306911A1

## CPC

- G06F 16/2272: {Management thereof}
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/148: {File search processing}
- G06F 16/2228: {Indexing structures}
- G06F 16/245: Query processing
- G06F 16/285: {Clustering or classification}
- G06F 16/319: {Inverted lists}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for processing an index are described. A postings list of items containing a particular term are ordered in a desired retrieval order, e.g., most recent first. The ordered items are inserted into an inverted index in the desired retrieval order, resulting in an ordered inverted index from which items may be efficiently retrieved in the desired retrieval order. During retrieval, items may first be retrieved from a live index, and the retrieved items from the live and ordered indexes may be merged. The retrieved items may also be filtered in accordance with the items' file grouping parameters.

## Claims

### Claim 1

A machine-implemented method for preparing an inverted index for storage on a disk storage medium, the method comprising:
scanning items containing terms from which an ordered inverted index is to be prepared;
generating a postings list of scanned items containing a particular term;
ordering the scanned items in the postings list in a retrieval order; and
inserting the scanned items from the postings list into the ordered inverted index in the retrieval order.

### Claim 2 (depends on 1)

The machine-implemented method in claim 1, further comprising retrieving the scanned items from the ordered inverted index in the retrieval order.

### Claim 3 (depends on 2)

The machine-implemented method in claim 2, further comprising:
preparing a live inverted index of live items not previously scanned, wherein the live inverted index is separate from the ordered inverted index of scanned items; and
retrieving the live items from the live inverted index before retrieving scanned items from the ordered inverted index.

### Claim 4 (depends on 2)

The machine-implemented method in claim 2, further comprising:
storing a parameter associated with the item separate from the inverted index;
determining a selected value of the parameter associated with the item; and
retrieving the items in accordance with the selected value.

### Claim 5 (depends on 4)

The machine-implemented method in claim 4, further comprising determining a threshold associated with the selected value, the threshold indicating a threshold number of items to be retrieved in accordance with the selected value.

### Claim 6 (depends on 2)

The machine-implemented method in claim 2, wherein the retrieval order is a reverse time order in which newer items are retrieved before older items.
