docs-site/content/0.23.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 new features, performance improvements and important bug fixes.
"new york".sort: true parameter of the field.emplace action creates a document if it does not exist in a collection
or updates it (partially or fully) if it already exists.basket ball if basketball is not found or vice-versa. You can disable this behavior
by setting split_join_tokens: false.el, ru, sr, uk and be locales.x-typesense-api-key key. This is useful to specify different scoped search API keys for each search.max_candidates parameter.--cors-domains flag.filter_curated_hits flag.out_of and search_time_ms from the search API response, using the exclude_fields parameter.facet_query_num_typos.--peering-subnet server parameter.snippet containing the full field value when highlight_full_fields is enabled.--enable-cors=true flag format not working. Earlier, only the --enable-cors format worked.highlight_fields parameter not respecting include_fields. #556<mark>New Y</mark>ork City.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.24 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.23, we've released a special version v0.23.2 that backports these data structure changes back to 0.23 while keeping other 0.23.1 features as is.
So v0.24 can only be downgraded to v0.23.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 />