{
  "status": "shipping",
  "advantages": [],
  "limitations": [],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-17",
  "slug": "partitioned-elias-fano",
  "term": "Partitioned Elias-Fano",
  "aliases": [
    "PEF indexes"
  ],
  "definition": "Partitioned Elias-Fano represents a sorted integer sequence in separately encoded chunks with an upper-level index that locates their endpoints and payloads.",
  "note": "Mechanism: Local ranges can expose clustering hidden by one global universe. The 2014 design includes fixed-size and variable-size partitions; dense chunks may use bitmaps or an implicit all-values representation. [pef]\n\nCost: Smaller chunks can reduce payload while increasing endpoint, size and location metadata. The published optimization includes a per-chunk cost; minimizing only payload is a different objective. [pef]\n\nExample: A toy two-partition recipe uses 124 bits for clustered input but 284 for spread input, versus 224 for either unpartitioned payload. Both inputs contain 32 identifiers spanning 0 through 1039. Each partition is rebased to its first value and all declared toy headers are counted. This is an arithmetic illustration, not the paper's wire format or a speed benchmark. [model]",
  "related": [
    "elias-fano",
    "roaring-bitmap"
  ],
  "citations": [
    {
      "id": "pef",
      "title": "Giuseppe Ottaviano and Rossano Venturini, Partitioned Elias-Fano Indexes, SIGIR 2014, sections 4-5; DOI 10.1145/2600428.2609615",
      "url": "https://pages.di.unipi.it/rossano/assets/pdf/papers/SIGIR14.pdf",
      "accessed": "2026-11-17"
    },
    {
      "id": "code",
      "title": "Authors' historical implementation and experiment repository",
      "url": "https://github.com/ot/partitioned_elias_fano",
      "accessed": "2026-11-17"
    },
    {
      "id": "model",
      "title": "Hesela: exact Elias-Fano payload and explicit toy partition-header accounting (CC0)",
      "url": "https://hesela.dev/research/elias-fano-payload.mjs",
      "accessed": "2026-11-17"
    },
    {
      "id": "analysis",
      "title": "Hesela: compressed indexes and the metadata needed to read them",
      "url": "https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#monotone-indexes",
      "accessed": "2026-11-17"
    }
  ],
  "provenance": [
    "SIGIR 2014 evaluates document identifiers and term frequencies, not positional postings; its performance results concern its recorded corpora and implementations. [pef]",
    "The historical code links to its successor ds2i. No upstream implementation or figure was copied. [code]"
  ]
}
