Skip to content

Latest commit

 

History

History
325 lines (201 loc) · 13 KB

CHANGELOG.mdown

File metadata and controls

325 lines (201 loc) · 13 KB

0.9.6

  • add badge
  • update LIENSE
  • update README.md

0.9.5

  • support lunr-languages.js, user could use elasticlunr.js for other languages.

0.9.4

  • commit file

0.9.3

  • add sorted_set.js to make it compatible with lunr-languages.js

0.9.2

  • some update
  • clean the document about other language support

0.9.1

  • merged pull request from Dave Allie, allow boost equal 0, and do not search field with 0 boost.

0.9.0

  • review code of elasticlunr.InvertedIndex.
  • remove useless variable length of elasticlunr.InvertedIndex.
  • review code of elasticlunr.EventEmitter.
  • review test cases of elasticlunr.EventEmitter.
  • merge pull request from BrianRosamilia

0.8.9

  • fix issue #8, boolean "AND" error.
  • need to add test cases for issue fix #8
  • Optimized AND boolean search, merged pull request #14, thanks for mhalle, this is really brilliant idea.
  • Fixed documents update issue, merged pull request #12, thanks deerawan.

0.8.8

  • during to the ugly slow network of my family, re-publish this version.

0.8.7

  • remove make server
  • remove .DS_Store
  • remove folder perf
  • fix issue #8, do tokenizenation even if the parameter of tokenizer is array type, because if we do not do segmentation, the whole array item will be used to build index then partial query will not be searchable.
  • but currently exist cross query error, need to fix.

0.8.6

  • update README
  • remove queryNorm compute, it make the score computation complex and useless.Elasticsearch queryNorm

0.8.5

  • add trimmer parameter check, throw error if parameter is null or undefined.
  • add toString function to utils.
  • add array check for parameter of elasticlunr.addStopWords.
  • allow tokenize array with null values.
  • support parameter for elasticlunr.tokenizer.

0.8.4

Main Change: Catch up the changes of lunr.js

  • support clear stopwords and add customized stop words.
  • add test cases for clearStopWords function of elasticlunr.
  • add test cases for addStopWords function of elasticlunr.
  • update index.html page

0.8.3

Main Change: Catch up the changes of lunr.js

  • remove moot version in bower.json
  • update release.sh mistake about CHANGELOG.mdown(.ms)
  • add latest node version in Travis.yml
  • add semicolon to wrapper_end
  • Use git describe to get the previous tag
  • update stop_word_filter, add test case

0.8.2

** remove useless script code of example HTML page.

0.8.1

  • republish

0.8.0

0.7.9

** fix fieldSearchStats issue, "Token Expandation" causes JavaScript error , actually fieldSearchStats() should only be called for original token, not for expanded token. ** when doing coordNorm() computation, docId in scores maybe not in docTokens, because docTokens only record original token, expanded token is not recorded. So in coordNorm() we need to check if docId is in docTokens.

0.7.8

  • update example code

0.7.7

  • update Makefile

0.7.6

0.7.5

  • remove old node version v0.8 from .travis.yml, because old version of npm caused build error when running npm install.

0.7.4

  • Delete node_modules from repo.

0.7.3

  • Change Documentation link to API Documentation
  • Delete node_modules because different platform need different node_models distribution

0.7.2

0.7.1

  • nothing

0.7.0

  • code review again.
  • add TODO list.

0.6.9

  • update index.html in gh-pages branch

0.6.8

  • change use tf directly to function call.
  • remove necessary memo.concat() for token expand.
  • make token expand effecient, no need to call getNode() for each expanded token, use context node information to get df. If using getNode() for each expand token, need to traverse the trie tree from root again and again.
  • add token expand configuration.
  • add token expand for search function, the expanded token's weight is penalized.
  • add test case for configuration.js for token expand config.

0.6.7

  • update README.md

0.6.6

  • remove fieldLength of each token in inverted index, this will reduce the index size significantly, because previous index store too much redundant infomation.
  • using DocumentStore to record the field length of each document.

0.6.5

  • add field length info in DocumentStore
  • add test cases for field length operation in DocumentStore
  • change not-strict comparsion to strict comparsion
  • fix function bug in DocumentStore(not contain .prototype.)
  • change isSave() interface in DocumentStore to isDocStored()
  • add test cases for isDocStored()
  • change directly inner variable call of DocumentStore to interface call in DocumentStore test cases.
  • update interface reference in index.js

0.6.4

  • fix example issue by using elasticlunr.Configuration

0.6.3

    1. release 0.6.3

0.6.2

    1. add fieldLength to documentStore
    1. support not store JSON document
    1. add Configuration parser.
    1. refactor scoring methodology.

0.6.1

    1. Support field search, each field of document has a separted index.
    1. Support query-time boosting, no need to do index-time boosting.
    1. Change scoring mechanism as the same as Elasticsearch.
    1. Support boolean model.
    1. Combined Boolean Model, TF/IDF Model and the Vector Space Model, make the results ranking more reliable.
    1. Removed CorpusToken and Vector.js, no need to computer query vector and document vector to compute score.
    1. Store original JSON documents, not pipeline processed document.

git clone --bare

I want to add some other features to this lunr.js, and because if I forked the repo and then work on the forked repo, there will be some issues, so I'd to break the connection of my fork with original repo. The original repo is a great package and give good performance, based on this cornerstone, I could add some other features.

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