Hi everyone, I recently started playing with types...
# community-help
t
Hi everyone, I recently started playing with typesense, trying to figure out how it can fit into my system. I have to say its some great work the typesense team and community are doing. I don't know if typesense can work for my needs but here is what i need or how my system works: 1. Get a list of ids from another database that corresponds to document ids in typesense. 2. Do a search in typesense but only search documents that are returned in the list of ids. Is this sort of functionality possible?
j
Thanks @Tshepo Maph!
You could add a
filter_by=id:=[1,2,3,etc]
to your search query to only search within a subset of documents
Another thing you could do is, add whatever fields you're querying by in your other database to Typesense and then use those fields to query Typesense directly, instead of having to do lookups in two systems.
t
Thanks a lot @Jason Bosco let me get to testing this out.
👍 1