typeahead.js icon indicating copy to clipboard operation
typeahead.js copied to clipboard

De-duplicate across multiple datasets

Open steswinbank opened this issue 13 years ago • 1 comments

Hi

We are using multiple datasets and sometimes these have duplicate entries. E.g. one dataset is serving up the autocomplete options, and the second is storing recent searches. Is there currently a way of de-duping accross multiple datasets so that an item does not appear twice in the suggestions list? I've had a quick look through existing issues but couldn't find anything to do with this. I'd appreciate your help on this one.

Thanks Ste

steswinbank avatar Nov 01 '13 13:11 steswinbank

There's nothing built into typeahead.js to deal with this and there probably never will be. Starting in v0.10 though you'll be able to create your own datasets so it probably wouldn't be too hard to come up with a custom solution for this issue.

jharding avatar Dec 27 '13 06:12 jharding