4 ms·
Looks pretty cool. Simple question I have is, are you hitting wikipedia api live? or you have dump of the wikipedia and running through it? If running through
by techaddict009 9y ago
Looks pretty cool.
Simple question I have is, are you hitting wikipedia api live? or you have dump of the wikipedia and running through it?
If running through dump do you update it regularly or how?
Thanks in advance.
- jwngr 9y agoThe autocomplete suggestions hit the live Wikipedia API[1]. The actual search algorithm is on a dump of Wikipedia[2], which I plan to update monthly. [1] https://github.com/jwngr/sdow/blob/f39398d112fecf7b993c64bd4115ba3c1f352209/website/src/components/PageInput.js#L44-L70 https://github.com/jwngr/sdow/blob/f39398d112fecf7b993c64bd4... [2] https://github.com/jwngr/sdow#data-source https://github.com/jwngr/sdow#data-source