Typesense Autocompletion and Recent Query Storing

TLDR Amrit asks about implementing autocompletion and storing recent queries in Typesense. Kishore Nallan confirms it's being developed and shares build instructions for use.

Photo of Amrit
Amrit
Thu, 18 May 2023 12:49:14 UTC

how can i make autocompletion in typesense? backend NestJs frontend React Native. is there any proper documentation ?

Photo of Kishore Nallan
Kishore Nallan
Thu, 18 May 2023 13:32:24 UTC

Do you already have those queries?

Photo of Amrit
Amrit
Thu, 18 May 2023 13:49:21 UTC

do i need to store all the recent queries in typesense?

Photo of Amrit
Amrit
Thu, 18 May 2023 13:50:16 UTC

in a separate collection only for recent queries

Photo of Kishore Nallan
Kishore Nallan
Thu, 18 May 2023 13:59:02 UTC

Yes you have to collect and store them in a separate collection. The good news is that we are working on a way to do this easily. You just need to send the queries and typesense will do the aggregation and counting and make this available for you. Will have more to share in a couple of weeks.

Photo of Amrit
Amrit
Wed, 24 May 2023 05:04:34 UTC

Kishore Nallan is there any update regarding this feature?

Photo of Kishore Nallan
Kishore Nallan
Wed, 24 May 2023 05:06:37 UTC

Still working on it. Will update when I've a build to share. Latest by next week.

Photo of Amrit
Amrit
Wed, 24 May 2023 05:07:07 UTC

Okay thank you

Photo of Amrit
Amrit
Sat, 03 Jun 2023 04:01:47 UTC

Hello Kishore Nallan

Photo of Amrit
Amrit
Sat, 03 Jun 2023 04:02:01 UTC

Sorry to ask you once again

Photo of Amrit
Amrit
Sat, 03 Jun 2023 04:03:58 UTC

any update regarding this feature because we don’t want to store all recent queries in a separate collection

Photo of Kishore Nallan
Kishore Nallan
Sat, 03 Jun 2023 04:06:41 UTC

I can share a build and instructions later today. Do you use docker? What we will now be able to do is aggregate your search queries automatically but these will still be store in Typesense on another collection.

Photo of Amrit
Amrit
Sat, 03 Jun 2023 04:08:11 UTC

yes i use docker but not for typesense

Photo of Kishore Nallan
Kishore Nallan
Sat, 03 Jun 2023 04:08:30 UTC

You use Typesense cloud?

Photo of Amrit
Amrit
Sat, 03 Jun 2023 04:08:36 UTC

yes

Photo of Amrit
Amrit
Sat, 03 Jun 2023 04:18:28 UTC

will you update documentation ?

Photo of Kishore Nallan
Kishore Nallan
Sat, 03 Jun 2023 04:20:11 UTC

Please DM me your cluster ID. Will update and post instructions for use.