#community-help

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.

Powered by Struct AI
+11
17
3mo
Solved
Join the chat
May 18, 2023 (4 months ago)
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
12:49 PM
how can i make autocompletion in typesense?
backend NestJs frontend React Native.
is there any proper documentation ?
Image 1 for how can i make autocompletion in typesense?<br>backend NestJs frontend React Native.<br>is there any proper documentation ?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:32 PM
Do you already have those queries?
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
01:49 PM
do i need to store all the recent queries in typesense?
01:50
Amrit
01:50 PM
in a separate collection only for recent queries
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
01:59 PM
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.
+11
May 24, 2023 (4 months ago)
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
05:04 AM
Kishore Nallan is there any update regarding this feature?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
05:06 AM
Still working on it. Will update when I've a build to share. Latest by next week.
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
05:07 AM
Okay thank you
Jun 03, 2023 (3 months ago)
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
04:01 AM
Hello Kishore Nallan
04:02
Amrit
04:02 AM
Sorry to ask you once again
04:03
Amrit
04:03 AM
any update regarding this feature because we don’t want to store all recent queries in a separate collection
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:06 AM
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.
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
04:08 AM
yes i use docker but not for typesense
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:08 AM
You use Typesense cloud?
Amrit
Photo of md5-d714a3e42b6c1a6326f383b0ecdaae8b
Amrit
04:08 AM
yes
04:18
Amrit
04:18 AM
will you update documentation ?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:20 AM
Please DM me your cluster ID. Will update and post instructions for use.