New features
-
Allow query string to be optional. You can now specify a wildcard query using a
*
to consider all records for filtering and sorting. If no sorting field is specified, records will be sorted according to thedefault_sorting_field
specified during collection creation. -
Return all fields that match in the highlight section of search results. When searching for a query in multiple fields in a document,
v0.8.0
used to return only the best matched field in the highlight section.0.9.0
returns all fields that match the query string in the highlight section. This required a change in the JSON response structure. Here are the exact details of the change expressed in API Spec format. Learn how to upgrade here. -
Ability to restrict fields returned. Introduces two additional parameters to the search end-point: use
include_fields
andexclude_fields
to customize the document fields that are returned in the search result response. -
Introduces
drop_tokens_threshold
parameter to the search end-point: if the number of results found for a specific search query is less than this number, Typesense will attempt to drop the tokens in the query until enough results are found. Tokens that have the least individual hits are dropped first. Setdrop_tokens_threshold=0
to disable dropping of tokens.
Bug fixes
- Fixed a random crash during start-up caused by a RocksDB bug.
- Fixed an edge case in fuzzy prefix searches which ignored some matching words.
Downloads
Please download the appropriate binary archive for your operating system and architecture.
Linux(64-bit):
https://dl.typesense.org/releases/typesense-server-0.9.0-linux-amd64.tar.gz
Mac OS X (64-bit):
https://dl.typesense.org/releases/typesense-server-0.9.0-darwin-amd64.tar.gz
Docker:
docker pull typesense/typesense:0.9.0