elasticlunr.js
elasticlunr.js copied to clipboard
how to get the positions of the term matches
Is there a way to enable the positions of term matches like lunr. I would like to use the data for highlighting
It's possible with lunr, but I have found no way to do this with elasticlunr, unfortunately.
Looks like duplicat of https://github.com/weixsong/elasticlunr.js/issues/15.