derekparker / trie

Data structure and relevant algorithms for extremely fast prefix/fuzzy string searching.
MIT License
761 stars 115 forks source link

Limit number of search results #31

Open ex-tag opened 2 years ago

ex-tag commented 2 years ago

Is there a limit parameter for PrefixSearch? What if I only want 10 results?

t.PrefixSearch("foo", 10)