docs-site/content/28.0/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 contains important new features, performance improvements and bug fixes.
sort_by=_rand(seed) clause. (PR#1918)sort_by to support gaussian, linear, and exponential decay of values. (PR#2036)token_separators and symbols_to_index are now supported. (PR#2118)bucket_size parameter. (PR#2120)validate_field_names parameter to disable field name validation in faceting, filtering and grouping operations.distance_threshold parameter for vector query that uses inner product distance.api_key parameter. (PR#1944)max_filter_by_candidates search parameter that controls the number of similar words that Typesense considers during fuzzy search on filter_by values (default is 4).async_reference property not being restored correctly on restart.distance_threshold in vector_query not working correctly while sorting.float[].flat_search_cutoff not working for hybrid search.There are no deprecations / behavior changes in this release.
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).If you wish to downgrade back to an earlier version of Typesense server, you can safely downgrade to v27.
:::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 />