## --- image: "Math and Computation/Databases/Postgres/assets/str_idx_gist.png" description: "Generalized Search Tree infrastructure used for complex data types like geometry, full-text search, and nearest-neighbor queries." publish: true
![[str_idx_gist.png|256]]
- **Description**: "Generalized Search Tree". It's not a single index type but a
framework for implementing many different indexing strategies.
- **Supported Operators**: Varies by operator class (e.g., `&&`, `@>`, `<@`,
`~=`).
- **Special Features**:
- Excellent for high-dimensional data (Geometry, IP ranges).
- Supports "nearest-neighbor" distances using the `<->` operator.
- **Metaphor**: A multi-layered, magical sieve. You throw a bunch of shapes at
it, and it catches exactly the ones that "overlap" or are "nearby" your
target.