Closed mike1808 closed 6 years ago
When initializing query with the output of lunr.tokenizer the search is performed only for the last token.
lunr.tokenizer
Fiddle
The issue is in lunr.Query.prototype.term where the same options object is reused for each clause.
When initializing query with the output of
lunr.tokenizer
the search is performed only for the last token.Fiddle
The issue is in lunr.Query.prototype.term where the same options object is reused for each clause.