Skip to content

Indices

Fuuz Wiki Import edited this page Jun 7, 2026 · 2 revisions

Indices

Article Type: Reference Audience: Developers Module: Data Models

Indices support the efficient execution of queries. By using indices the query can limit the results, resulting in faster performance instead of doing a collection scan. Indices can be defined on a single field or on multiple fields.

Index configuration

Multi-Field Index

The order of fields matters when defining a multi-field index. The index will contain references to documents sorted first by the values of the first field and, within each value of that field, sorted by values of the second field.

Unique Index

The Unique checkbox creates a unique index on the fields specified. This ensures the data is not duplicated and enforces uniqueness.

TTL Index

TTL indexes are used to automatically remove data after a certain amount of time. It's useful to add a TTL index where the data needs to persist for a finite amount of time. TTL indices are created on DateTime fields to determine the expiration seconds, and the data will be deleted from the collection after the specified seconds.

Partial Index

Partial indexes only index based on a specified filter expression. By indexing a subset of the documents in a collection, partial indexes have lower storage requirements and reduced performance costs for index creation and maintenance.

Partial index configuration

For example: If we have to create an index on a Log / History data model only when the status field is "Error", we can define a Partial Index using a Partial Filter Predicate as below:

{
    "status": {
        "_eq": "Error"
    }
}

See Also


Source: support.fuuz.com

🏠 Home

Getting Started (14)
Training Guides (52)

Applications

Access & Users

Data Models & Schema

Screens

Weather Lookup Series — guided 3-part build

Data Flows & Integrations

Data, Reporting & Monitoring

Enterprise & Organizations

Platform Concepts & Architecture (10)
Screens & Application Design (17)
Data Models & Schema (8)
Data Flows & Scripting (51)

Designing Flows

Data Flow Nodes

JSONata Reference

Scripting

Integrations & Connectors (30)

General & iPaaS

Plex

EDI

IIoT & Edge Gateway (18)

Physical Device Connectors

Edge Data Connectors

Reporting, Documents & Dashboards (8)
Administration & Access Control (27)
Data Management (8)
Accelerators, Templates & Packages (8)
Design Standards (1)
How-To Guides (8)
FAQ & Troubleshooting (1)
Release Notes (117)

2026

2025

2024

2023

2022

2021

2020

Policies & Company (6)

Clone this wiki locally