
Preventing duplicate suggestion queries
Some work here to make sure query killing is effective with filter suggestions, which can fire off several queries as the user types.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
wanted to get another little demo in here. Um, this is something that um, we've heard a a lot about in the past and I wanted to take a quick stab at. Um, you'll notice when I have this I have this um, topic set up that has a we'll call it it's just really slow. I've built it to to be really slow.
It runs a sleep effectively. Um, however, when I want to go run suggestions, it seems to take a long time. And maybe I start typing something and maybe that's not actually what I wanted. And maybe I'll say Jonathan. And we'll notice that we're issuing lots and lots and lots of suggestion queries. And these can really stack up on the customer data warehouse.
So, wanted to sort of make sure that um we're sort of only running one suggestion at a time. Um, still a little bit of work left to do here, but um, one thing you'll notice is that if I go over to my running queries, I'll see that there's only one running. And actually, it in navigating away and navigating, it actually just killed the one that was running.
So, there's still a little bit here to work on, but um, instead of running and stacking up lots and lots and lots of queries, um, it sort of will only um, run one at a time here.