You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6.7 KiB

Changelog

0.5.12

  • Implement lunr.stopWordFilter with an object instead of using lunr.SortedSet #170, resulting in a performance boost for the text processing pipeline, thanks to Brian Vaughn.
  • Ensure that lunr.trimmer does not introduce empty tokens into the index, #166, thanks to janeisklar

## 0.5.11

0.5.10

0.5.9

  • Remove recursion from SortedSet#indexOf and SortedSet#locationFor to gain small performance gains in Index#search and Index#add
  • Fix incorrect handling of non existant functions when adding/removing from a Pipeline #146 thanks to weixsong

0.5.8

0.5.7

0.5.6

  • Performance improvement when add documents to the index #114 thanks Alex Holmes

0.5.5

0.5.4

0.5.3

0.5.2

  • Use npm they said, it'll be easy they said.

0.5.1

0.5.0

  • Add plugin support to enable i18n and other extensions to lunr.
  • Add AMD support #72 thanks lnwdr.
  • lunr.Vector now implemented using linked lists for better performance especially in indexes with large numbers of unique tokens.
  • Build system clean up.

0.4.5

  • Fix performance regression introduced in 0.4.4 by fixing #64.

0.4.4

  • Fix bug #64 idf cache should handle tokens with the same name as object properties, thanks gitgrimbo.
  • Intersperse source files with a semicolon as part of the build process, fixes #61, thanks shyndman.

0.4.3

  • Fix bug #49 tokenizer should handle null and undefined as arguments, thanks jona.

0.4.2

  • Fix bug #47 tokenizer converts its input to a string before trying to split it into tokens, thanks mikhailkozlov.

0.4.1

  • Fix bug #41 that caused issues when indexing mixed case tags, thanks Aptary

0.4.0

  • Add index mutation events ('add', 'update' and 'remove').
  • Performance improvements to searching.
  • Penalise non-exact matches so exact matches are better ranked than expanded matches.

0.3.3

  • Fix bug #32 which prevented lunr being used where a console object is not present, thanks Tony Marklove and wyuenho

0.3.2

  • Fix bug #27 when trying to calculate tf with empty fields, thanks Gambhiro

0.3.1

0.3.0

  • Implement JSON serialisation, allows indexes to be loaded and dumped, thanks ssured.
  • Performance improvements to searching and indexing.
  • Fix bug #15 with tokeniser that added stray empty white space to the index, thanks ssured.

0.2.3

0.2.2

  • Boost exact term matches so they are better ranked than expanded term matches, fixes #10, thanks ssured

0.2.1

  • Changes to the build process.
  • Add component.json and package.json
  • Add phantomjs test runner
  • Remove redundant attributes
  • Many spelling corrections, thanks Pascal Borreli