bleroy / lunr-core

A port of LUNR.js to .NET Core
MIT License
565 stars 24 forks source link

Fix: cancellationToken not used in iterations #45

Closed lduchosal closed 3 years ago

lduchosal commented 3 years ago

CancellationToken is not used while querying the index. The query continues, consumes CPU and RAM while search has been cancelled.

This patch fixes this bug.

bleroy commented 3 years ago

Good catch! Thanks for the contribution!