Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lunr

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lunr - npm Package Versions

1
7

2.1.0

Diff

Changelog

Source

2.1.0

  • Improve handling of term boosts across multiple fields #263
  • Enable escaping of special characters when performing a search #271
  • Add ability to programatically include leading and trailing wildcards when performing a query.
olivernn
published 2.1.0-alpha.2 •

olivernn
published 2.0.4 •

Changelog

Source

2.0.4

  • Fix bug in IDF calculation that meant the weight for common words was not correctly calculated.
olivernn
published 2.1.0-alpha.1 •

olivernn
published 2.0.3 •

Changelog

Source

2.0.3

  • Fix bug #256 where duplicate query terms could cause a 'duplicate index' error when building the query vector. Thanks Bjorn Svensson, Jason Feng, and et1421 for reporting and confirming the issue.
olivernn
published 2.0.2 •

Changelog

Source

2.0.2

  • Fix bug #255 where search queries used a different separator than the tokeniser causing some terms to not be searchable. Thanks Wes Cossick for reporting.
  • Reduce precision of term scores stored in document vectors to reduce the size of serialised indexes by ~15%, thanks Qvatra for the idea.
olivernn
published 2.0.1 •

Changelog

Source

2.0.1

  • Fix regression #254 where documents containing terms that match properties from Object.prototype cause errors during indexing. Thanks VonFry for reporting.
olivernn
published 2.0.0 •

Changelog

Source

2.0.0

  • Indexes are now immutable, this allows for more space efficient indexes, more advanced searching and better performance.
  • Text processing can now attach metadata to tokens the enter the index, this opens up the possibility of highlighting search terms in results.
  • More advanced searching including search time field boosts, search by field, fuzzy matching and leading and trailing wildcards.
olivernn
published 1.0.0 •

Changelog

Source

1.0.0

  • Deprecate incorrectly spelled lunr.tokenizer.separator.
  • No other changes, but bumping to 1.0.0 because it's overdue, and the interfaces are pretty stable now. It also paves the way for 2.0.0...
olivernn
published 2.0.0-alpha.5 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc