Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
carlsborg
· 9y ago · 0 comments
Thats fast. Can you comment on the architecture?
Comments
[–]
akgoel
9y ago
Less than 1000 verses. You could naively linearly search the whole Gita as a single string.
[–]
kthakore2
9y ago
Looking at the source. All the text is loaded with the HTML (in a <script> tag), which is filtered using a fuzzy search implementation.
Very simple and fast considering the text doesn't change ;)