docs-site/content/0.25.1/api/README.md
This section of the documentation details all the API Endpoints available in Typesense and all the parameters you can use with them.
Use the links on the side navigation bar to get to the appropriate section you're looking for.
To learn how to install and run Typesense, see the Guide section instead.
This release fixes some important bugs identified in the recently released v0.25.0.
The changelog below contains aggregates all the changes between v0.24.1 and v0.25.x.
filter_by condition
offset and limit: This is in addition to the existing page and per_page mechanism. This new pagination method offers more flexibility and is also useful for GraphQL compatibility.
facet_by, query_by, include_fields, exclude_fields,
highlight_fields and highlight_full_fields when a wildcard expression is used, e.g. title_* will match title_en.sort_by: _group_found:desc.group_limit.!= filtering operation can now be performed against numerical fields. Previously only string fields were supported for this operator.preset parameter in embedded API key.--reset-peers-on-error) that makes the cluster forcefully refresh its peers when an
unrecoverable clustering error happens due to sudden change of peer IPs. There's also an equivalent
/operations/reset_peers API. Be careful while using this option, as it can lead to transient loss of data.There are no depreciation or behavior changes in this version.
Before upgrading your existing Typesense cluster to v{{ $page.typesenseVersion }}, please review the behavior changes above to prepare your application for the upgrade.
We'd recommend testing on your development / staging environments before upgrading.
If you're on Typesense Cloud:
If you're self-hosting Typesense, here's how to upgrade:
To upgrade a multi-node cluster, we will be proceeding node by node to ensure the cluster remains healthy during the rolling upgrade.
NOTE: During the upgrade, we have to ensure that the leader of the cluster is using the older Typesense version.
So we will upgrade the leader last. You can determine whether a node is a leader or follower by the value of the state
field in the /debug end-point response.
| State | Role |
|---|---|
| 1 | LEADER |
| 4 | FOLLOWER |
/health should return healthy).Once you upgrade to v0.25 of Typesense Server the internal structure of the data directory becomes incompatible with older versions of Typesense.
However, if you need to downgrade to v0.24, we've released a special version v0.24.2 that backports these data structure changes back to 0.24 while keeping other 0.24.1 features as is.
So v0.25 can only be downgraded to v0.24.2.
:::tip This documentation itself is open source. If you find any issues, click on the Edit page button at the bottom of the page and send us a Pull Request. :::
<RedirectOldLinks />