Re:Lunr.js - Simple full-text search in your browser
by bambax on Monday March 04, 2013 @01:05PM
(#5319466)
What browsers do cannot really be called full-text search.
For example, the ability to search for a paragraph that contain two non-contiguous words would be very useful, but no browser (that I know of) is able to return elements that contain a set of tokens.
All browsers do is return exact matches from a string, with no concept of words.
It would be interesting to know if in this solution the index can be persisted to file or if it has to be rebuilt every time?
For example, the ability to search for a paragraph that contain two non-contiguous words would be very useful, but no browser (that I know of) is able to return elements that contain a set of tokens.
All browsers do is return exact matches from a string, with no concept of words.
It would be interesting to know if in this solution the index can be persisted to file or if it has to be rebuilt every time?