#community-help

Typesense JS Package Update and Configuration Issue

TLDR Alex misinterpreted comments about masterNode deprecation in typescript types as a removal of nearestNode. Kishore Nallan clarified that nearestNode still exists.

Powered by Struct AI
+11
3
15mo
Solved
Join the chat
Jun 28, 2022 (15 months ago)
Alex
Photo of md5-faf0fdba0b6739a6706f05c15b6738c6
Alex
11:27 AM
Hi! I just upgraded the typesense js package to v1.3. Seems like nearestNode config is gone. Does that mean i should only use nodes config? Does that mean my searches will get slower?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:30 AM
nearestNode should still exist. We have not removed it. Can you elaborate what you mean by the config being gone?
Alex
Photo of md5-faf0fdba0b6739a6706f05c15b6738c6
Alex
11:33 AM
Oh! Nice, my mistake, sorry for that! I read comments about deprecation for masterNode inside the typescript types. But that is something else 😄
+11