Query
Visual Firestore query builder
Build Firestore queries visually with filters, vector search, JSON editing, query sharing and embeddings generated from text. No coding required.
Capabilities
Query builder features
JSON editor
Query sharing
Save & organize
Query analysis
Live count & validation
Query types
Supported query types
Simple filters
StartsWith queries
Between queries
Vector search (findNearest)
Array queries
Compound queries
Sorting & limits
Aggregation
Subcollections
Manage & share
Advanced query management
JSON editor & copy/paste
Work with queries as JSON:
- Switch between visual and JSON editing modes
- Copy query JSON to clipboard with one click
- Paste a query copied from another project or shared as JSON
- Syntax highlighting, schema validation and autocompletion for JSON
- Export a query as a .fuego file and import it (old .json queries too)
Query sharing & collaboration
Share and reuse queries:
- Copy a fuego:// link that opens the query in Fuego
- Generate code for the Admin and Client SDKs
- Make a saved query available in several projects and databases
- Sync saved queries between machines with project sync
- Hand teammates your saved queries with Share configuration
Organize
Save, organize & analyze queries
Save & favorites
Organize your queries for quick access:
- Save frequently used queries
- Bookmark favorite queries for the sidebar and Home page
- Scope a query to a collection or collection group
- Show only the queries valid for the open collection
- Hide global search queries from the list
- Jump to a saved query from the command palette
Global search integration
Turn saved queries into search filters:
- Apply saved queries to global search
- Run every saved global query in one search
- Run a saved query on every top-level collection
- Open a result's query in the explorer
- Limit the search to selected projects
- Open a result in a new window or in Quick View
Query analysis
See how a query runs and check your indexes:
- Execution time (Explain → Analyze)
- Index usage analysis
- Missing index recommendations
- Billable documents and index entries
- Documents and index entries scanned
- Find duplicate and overlapping indexes in the database
AI & search
Vector search & AI embeddings
Semantic search with findNearest
Run a nearest-neighbor search on a vector field with a query vector you paste or generate from text with the embedding provider you configure. Results come back closest first, so documents similar in meaning show up even without an exact match.
OpenAI embeddings
Google Gemini
Cohere embeddings
Custom models
Vector search features
- Generate a query vector from text, or paste one, without leaving the query builder
- Pick the distance metric: cosine, Euclidean or dot product
- Set an optional distance threshold and a result limit of up to 1,000 documents
- Combine vector search with where filters in the same query
- Return each result's distance in a field you name
Use cases
- Semantic search across documents
- Testing content recommendations based on similarity
- Finding near-duplicate documents
- Checking retrieval for RAG and question-answering apps
- Finding similar products in a catalog
FAQ
Frequently asked questions
Can I build complex queries without coding?
Yes. Fuego's query builder lets you add where conditions with AND/OR, starts-with and between, order by, limit, cursors, field selection and collection group queries without writing code. You can also edit a query as JSON, validated against a schema as you type, and on Firestore Enterprise databases build pipeline queries stage by stage, including aggregations.
Does the query builder support vector search?
Yes. Turn on Vector search (find nearest) in the query builder, pick a vector field and a distance metric (cosine, Euclidean or dot product), then paste a query vector or generate one from text with an embedding provider you set up in Settings, such as OpenAI, Gemini, Vertex AI, Cohere or a local Ollama model. You can also set a distance threshold and a field that returns each result's distance.
Can I share and export queries?
Yes. You can edit a query as JSON, copy it to the clipboard, copy a fuego:// link to it, export it as a .fuego file, save and bookmark it, and generate code for the Admin SDK (Node.js, Python, Go, Java, C#, PHP, Ruby) or the Client SDK (TypeScript/JavaScript, Kotlin/Java, Swift).
Get started
Start building Firestore queries
Build Firestore queries visually, run vector searches, check them with Explain and the Index Advisor, then save and share them.
