Closed cannin closed 4 years ago
I am displaying maximum of 6 results, is it to be changed? Requesting feedback Thanks
This good, just make sure it is a configuration option
On Mon, Jun 24, 2019 at 4:26 AM Rohit Rajat Chattopadhyay < notifications@github.com> wrote:
[image: typeahead preview] https://user-images.githubusercontent.com/19877300/60003178-c583a080-9687-11e9-9364-2e022449034b.png
I am displaying maximum of 6 results, is it to be changed? Requesting feedback Thanks
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cannin/ihop-reach/issues/36?email_source=notifications&email_token=AAGA6DD65UHKZ2OUZTWNOGDP4CAM3A5CNFSM4HYIYUL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYMFNBI#issuecomment-504911493, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGA6DEOSBGMY6XQZABMTBLP4CAM3ANCNFSM4HYIYULQ .
This good, just make sure it is a configuration option … On Mon, Jun 24, 2019 at 4:26 AM Rohit Rajat Chattopadhyay < @.***> wrote: [image: typeahead preview] https://user-images.githubusercontent.com/19877300/60003178-c583a080-9687-11e9-9364-2e022449034b.png I am displaying maximum of 6 results, is it to be changed? Requesting feedback Thanks — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#36?email_source=notifications&email_token=AAGA6DD65UHKZ2OUZTWNOGDP4CAM3A5CNFSM4HYIYUL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYMFNBI#issuecomment-504911493>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGA6DEOSBGMY6XQZABMTBLP4CAM3ANCNFSM4HYIYULQ .
Thanks Should I deploy these changes in UCSD server?
Yes deploy
On Mon, Jun 24, 2019 at 12:40 PM Rohit Rajat Chattopadhyay < notifications@github.com> wrote:
This good, just make sure it is a configuration option … <#m-9059914067315835384> On Mon, Jun 24, 2019 at 4:26 AM Rohit Rajat Chattopadhyay < @.***> wrote: [image: typeahead preview] https://user-images.githubusercontent.com/19877300/60003178-c583a080-9687-11e9-9364-2e022449034b.png I am displaying maximum of 6 results, is it to be changed? Requesting feedback Thanks — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#36 https://github.com/cannin/ihop-reach/issues/36?email_source=notifications&email_token=AAGA6DD65UHKZ2OUZTWNOGDP4CAM3A5CNFSM4HYIYUL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYMFNBI#issuecomment-504911493>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGA6DEOSBGMY6XQZABMTBLP4CAM3ANCNFSM4HYIYULQ .
Thanks Should I deploy these changes in UCSD server?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cannin/ihop-reach/issues/36?email_source=notifications&email_token=AAGA6DHSLOX5AKVQDJAFPOLP4D2HBA5CNFSM4HYIYUL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYNQL2Q#issuecomment-505087466, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGA6DFSAHM7L7BOIAG2EXDP4D2HBANCNFSM4HYIYULQ .
Yes deploy
Thanks, it has been deployed, link.
What are the rules for typeahead? How many characters are needed? Does it only display one option for exact matches?
On Mon, Jun 24, 2019 at 4:09 PM Rohit Rajat Chattopadhyay < notifications@github.com> wrote:
Yes deploy
Thanks, it has been deployed, link http://reach.nrnb-docker.ucsd.edu.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cannin/ihop-reach/issues/36?email_source=notifications&email_token=AAGA6DBPWTKDJSIVRUNN5ITP4ESY3A5CNFSM4HYIYUL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYOCGWY#issuecomment-505160539, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGA6DD7Y2RB53YC7TCDCXTP4ESY3ANCNFSM4HYIYULQ .
What are the rules for typeahead? How many characters are needed?
The minimum character required is 2 I have used a tail wildcard, edit distance is set to 1. In the main search, I have also used a wildcard at the head, in addition to these.
Does it only display one option for exact matches?
The exact match will be at the top, but other results will also be shown if they match.
Typeahead Lunr query configuration available here
Add autocomplete search for the search bar.
Example: https://springload.github.io/react-search-example/
https://codepen.io/GDur/pen/gMpzXz https://github.com/springload/react-search-example https://github.com/olivernn/lunr.js/issues/287