> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/glover/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/glover/firebase/firestore-indexes.md).

# Firestore indexes

## Glover Project Version >= 1.6.63

For the auto-assignment feature to work, you need to create index on your firebase firestore. Here is how to create the index:

* Go to your **firebase** console. Then select **firebase database**, select the **indexes** tab and click on **NEW**

<figure><img src="/files/NHPHc9DJx3ll138W7j71" alt=""><figcaption></figcaption></figure>

Fill in the form dialog as shown in the screenshot below then click on "Create Index" then done filling the form:

<figure><img src="/files/enU3VxZYHplyOG2ejk4X" alt=""><figcaption></figcaption></figure>

***

## Project Version <= v 1.6.62

For the auto-assignment feature to work, you need to create index on your firebase firestore. Here is how to create the index:

* Go to your **firebase** console. Then select **firebase database**, select the **indexes** tab and click on **NEW**

![New index](/files/vzGNCZPS8OwvkStymCAo)

### Taxi Drivers Index

* Fill in the form dialog as shown in the screenshot below then click on "Create Index" then done filling the form:

<figure><img src="/files/V5WU23JIvc5DR1NbMPKx" alt=""><figcaption></figcaption></figure>

### Regular Driver index

* Fill in the form dialog as shown in the screenshot below then click on "Create Index" then done filling the form:

<figure><img src="/files/HWTucOOHbx4XveoQnnm5" alt=""><figcaption></figcaption></figure>

{% hint style="info" %} <mark style="color:red;">**Note:**</mark> Please make sure you create the 3 indexes has shown above
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edentech.gitbook.io/glover/firebase/firestore-indexes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
