Trang bạn đã yêu cầu hiện không có sẵn bằng ngôn ngữ của bạn. Bạn có thể chọn ngôn ngữ khác ở cuối trang hoặc dịch nhanh mọi trang web sang ngôn ngữ mà bạn chọn bằng cách sử dụng tính năng dịch được tích hợp sẵn trong Google Chrome.

Add and edit indexes

To manually create a new index from the Firebase console:

image of thefirestore indexing interface in the firebase console

  1. Go to the Database section of the Firebase console.
  2. Go to the Indexes tab and click Add Index.
  3. Enter the collection name and set the fields you want to order the index by.
  4. Click Create.

Indexes can take a few minutes to build, depending on the size of the query. After you create them, you can see your indexes and their status in the Composite Indexes section. If they're still building, the Firebase console includes a building status bar.

Remove indexes

To delete an index:

  1. Go to the Database section of the Firebase console.
  2. Click the Indexes tab.
  3. Hover over the index you want to delete and select Delete from the context menu.
  4. Confirm that you want to delete it by clicking Delete from the alert.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
17142258809888231657
true
Search Help Center
true
true
true
true
true
5054967
false
false