Files
firebase-js-sdk/docs-devsite/firestore_.indexconfiguration.md
Daniel La RocqueandGitHub d993a16712 Change API Documenter (BETA) annotation to (Public Preview) (#8789)
* Change (BETA) annotation to (Public Preview)

* format

* Minor bump
2025-02-13 13:45:58 -05:00

1.6 KiB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

IndexConfiguration interface

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Warning: This API is now obsolete.

Instead of creating cache indexes manually, consider using enablePersistentCacheIndexAutoCreation() to let the SDK decide whether to create cache indexes for queries running locally.

A list of Firestore indexes to speed up local query execution.

See JSON Format for a description of the format of the index definition.

Signature:

export declare interface IndexConfiguration 

Properties

Property Type Description
indexes Index[] (Public Preview) A list of all Firestore indexes.

IndexConfiguration.indexes

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A list of all Firestore indexes.

Signature:

readonly indexes?: Index[];