#community-help

Implementing Typesense Search in Select Dropdown Input

TLDR KARTHICK sought advice on using typesense search in a select dropdown input. Ivan and Kishore Nallan advised using autocomplete and provided related resources. KARTHICK expressed satisfaction at the advice.

Powered by Struct AI

1

15
11mo
Solved
Join the chat
Nov 23, 2022 (11 months ago)
KARTHICK
Photo of md5-9885c2d5db3a85d24bc9c11809bcaf50
KARTHICK
04:54 AM
Hi guys i have a doubt, Is it possible to use typesense search in the select drop down input box.Because when we filter the larger dataset in front end it loads the UI which makes user interface very bad.So thats why im asking is it possible to use the typesence search in the select input.If anyone knows the please reply in thread.Thanks in advance.

1

Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
07:42 AM
Hi, did you tryed to use autocomplete?
KARTHICK
Photo of md5-9885c2d5db3a85d24bc9c11809bcaf50
KARTHICK
07:51 AM
No not yet Ivan Volkov
KARTHICK
Photo of md5-9885c2d5db3a85d24bc9c11809bcaf50
KARTHICK
08:03 AM
Im asking like we are populating larger data in select option dropdown in form. we are filtering in the front end it takes time to filter larger data.So is it possible to use typesense indexing data to populate like that im asking.
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
08:07 AM
Ah, just missunderstood you, than it is question for somebody from TS team Jason Kishore Nallan
KARTHICK
Photo of md5-9885c2d5db3a85d24bc9c11809bcaf50
KARTHICK
08:08 AM
Ya tanks i have already send a message to Jason about thiss issue.Thanks for ur time Ivan
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:08 AM
KARTHICK I'm not sure what you mean by "filter the large dataset in frontend" -- when you make search requests to Typesense, Typesense already sends relevant responses via the API response.
KARTHICK
Photo of md5-9885c2d5db3a85d24bc9c11809bcaf50
KARTHICK
08:09 AM
Kishore Nallan Im asking like we are populating larger data in select option dropdown in form. we are filtering in the front end it takes time to filter larger data.So is it possible to use typesense indexing data to populate like that im asking.
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:10 AM
Provide me with an example so I can understand better.
KARTHICK
Photo of md5-9885c2d5db3a85d24bc9c11809bcaf50
KARTHICK
08:10 AM
ya give a second
08:14
KARTHICK
08:14 AM
Kishore Nallan Like I have api with data set of more than 10,000 Im having a form where their is a select option dropdown we will populate the data in that dropdown when user type what they want to search it takes time to filter it and send to UI.After two or three char entered i filters fastly.So im asking like can we implement typesearch search in that dropdown. like that im asking.Because typesense filters and send the data quickly right.thats what im asking about.
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
08:34
Kishore Nallan
08:34 AM
KARTHICK
Photo of md5-9885c2d5db3a85d24bc9c11809bcaf50
KARTHICK
08:34 AM
Thanks Kishore Nallan 👍