Galon Search
Is there a search API for my own data?
Galon Search lets you create an index with your own fields, send your documents in batches and query them by text with filters, sorting and facets. It is paid from a prepaid balance, behind the same key as the rest of Galon Cloud.
Steps
- Create an indexName it and declare its fields: which ones are searchable, filterable, sortable or facetable.
- Send your documentsIn batches of up to 1,000 documents, with an idempotency key.
- QuerySearch by text, then filter, sort and count facets.
Create an index and query it
curl -X POST https://api.galon.ai/v1/search/indexes \ -H "Authorization: Bearer gln_test_••••" \ -H "Content-Type: application/json" \ -d '{"name": "menu", "fields": [{"name": "title", "type": "text", "searchable": true}]}' curl -X POST https://api.galon.ai/v1/search/indexes/menu/query \ -H "Authorization: Bearer gln_test_••••" \ -H "Content-Type: application/json" \ -d '{"q": "espresso"}'
Limits
- 10 indexes per project and 100,000 documents per index by default.
- Documents up to 64 KiB each.
- 20 queries per second per key by default.
What it costs
Paid from a prepaid balance. Galon sets no hard spending cap: you set your own.
Galon Search: prices and limits
| Plan or model | Included | Price | Per unit |
|---|---|---|---|
| Pages read | Pay as you use | $0.741 per 1,000 documents | — |
| Calls | Pay as you use | $0.741 per 1,000 requests | — |
| Limit | Value |
|---|---|
| Crawl pages (default limit) | 10 |
| Crawl pages (maximum per job) | 100 |
| Crawl depth (maximum) | 5 |
| Map links (maximum) | 1,000 |
| Page size (bytes) | 5 MiB |
| Results kept (hours) | 24 |
| Concurrent crawl jobs per project | 2 |
| Pages per site per day (default) | 500 |
| Site reading requests per minute per key (default) | 60 |
| Page timeout (milliseconds, maximum) | 60,000 |
| Indexes per project (default) | 10 |
| Documents per index (default) | 100,000 |
| Documents per account (default) | 500,000 |
| Document size | 64 KiB |
| Documents per batch | 1,000 |
| Queries per second per key (default) | 20 |