Ken Kunz
11/02/2022, 6:47 PMKen Kunz
11/02/2022, 6:47 PMnull
value for our liquidity
field. I was happy to find the missing_values
sort option that seems to address our need.Ken Kunz
11/02/2022, 6:47 PM{
"message": "Bad syntax for geopoint sorting field `liquidity`"
}
Ken Kunz
11/02/2022, 6:48 PMsort_by
param I’m using:
sort_by=liquidity(missing_values: first):desc,_text_match:desc
Ken Kunz
11/02/2022, 6:48 PMliquidity
field definition (based on a GET
to the collection):
{
"facet": false,
"index": true,
"name": "liquidity",
"optional": true,
"type": "float"
}
Ken Kunz
11/02/2022, 6:49 PMJason Bosco
11/02/2022, 6:50 PMKen Kunz
11/02/2022, 6:51 PM0.23.1
Docker image)Ken Kunz
11/02/2022, 6:51 PMJason Bosco
11/02/2022, 6:53 PMJason Bosco
11/02/2022, 6:53 PMKen Kunz
11/02/2022, 6:53 PMKen Kunz
11/02/2022, 6:59 PM0.23.1
to make sure I wasn’t imagining things – works exactly as described in the docs!Ken Kunz
11/02/2022, 7:03 PM250k
records. We use a regular batch process to upsert the data, so it’s also not hard for us to recreate the collection from scratch if that’s quicker or easier. Knowing about how long will just help us schedule the this appropriately.Jason Bosco
11/02/2022, 7:04 PMKen Kunz
11/02/2022, 7:05 PMJason Bosco
11/02/2022, 7:06 PMKen Kunz
11/02/2022, 7:07 PMKen Kunz
11/02/2022, 7:36 PM0.23.0
. Was there a change to this feature in the latest RC we should be aware of?
https://typesense.org/docs/0.23.0/api/search.html#sorting-null-empty-or-missing-valuesJason Bosco
11/02/2022, 7:39 PMKen Kunz
11/02/2022, 7:40 PM0.23.1
? Any major risks / downsides vs. going with the official, stable release?Jason Bosco
11/02/2022, 7:46 PMJason Bosco
11/02/2022, 7:47 PMJason Bosco
11/02/2022, 7:48 PMKen Kunz
11/02/2022, 7:51 PM0.24.0
official release?Jason Bosco
11/02/2022, 7:56 PMKen Kunz
11/03/2022, 2:34 PM<http://4relmbjhcysqztv9p-1.a1.typesense.net|4relmbjhcysqztv9p-1.a1.typesense.net>
Ken Kunz
11/03/2022, 2:35 PMJason Bosco
11/03/2022, 6:01 PMKen Kunz
11/03/2022, 6:43 PMKen Kunz
11/03/2022, 6:44 PM