corejavascript / corejavascript/typeahead.js

'Query search for matches issue' with Trie data structure

Open
#42 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
968
Forks
231
PR merge metrics
No merged PRs in 30d

Description

Simply put, this Git source hasn't fixed the issue that could be described as:

With Bloodhound engine data to search for California, we type 'c' and retrieves the state with typeahead (54 states data). but typing 'l', 'i', 'for', 'li',... does not include California as a selective option or even nothing found. [Try it here](http://typeahead.js.org/examples/) with all examples EXCEPT for the very first one.

Source: my post at Twitter Typeahead git (search_index.js)
If your version based off this stale version, please have a look at my raised concern:
https://github.com/twitter/typeahead.js/commit/7ed93f9#commitcomment-14598011

If the problem is on Trie data structure, could you change the [node data method](https://github.com/twitter/typeahead.js/blob/7ed93f9759b0eacaaca8d3568ca8087a70d7091a/src/bloodhound/search_index.js#L55) in search_index.js so as to fix it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.