is there a way to only load specific collections o...
# community-help
c
is there a way to only load specific collections on startup instead of all of them?
j
No, there’s no way to do this…
1
c
np. i assume there's no way to delete part of the collection/db either?
j
Not when Typesense is not running… no
c
context: • demo call in 20 mins • dataset i need to demo with loads fast (4 mins) • other data takes much longer (up to hours) • pushing all the data to a typesense server with no data will also take much longer but ah sg.
i'll just cross my fingers.
j
Hmm if a particular collection only takes 4 mins to load at startup, are you able to index just that from scratch in a new Typesense instance?
This might be risky trying this last minute, but for the future you might want to also experiment with the
--num-collections-parallel-load
and
--num-documents-parallel-load
https://typesense.org/docs/0.25.0/api/server-configuration.html#using-command-line-arguments
c
yea i have num-collections-parallel-load at 100000, but the pubmed dataset still takes a while. decided to just try re-pushing and it should actually be done in time - thanks for the suggestion.
👍 1