weixsong / elasticlunr.js

Based on lunr.js, but more flexible and customized.
http://elasticlunr.com
MIT License
2.02k stars 147 forks source link

Add the possibility for a pipeline element to split a token into sub tokens #100

Closed srenauld closed 5 years ago

srenauld commented 5 years ago

This commit contains changes to allow a pipeline's run command to return either an Array or a single element, and an additional test to cover the new use case.

Fixes #99

weixsong commented 5 years ago

thanks