1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-08-26 15:25:21 +02:00

minor refactoring to align with the documentation

This commit is contained in:
Thomas Wilkerling
2025-03-30 21:57:37 +02:00
parent bdfddd5509
commit 40f17691bf
118 changed files with 870 additions and 816 deletions

View File

@@ -42,8 +42,8 @@ describe("Scoring", function(){
expect(index.search("1")).to.eql([0]);
expect(index.search("one")).to.eql([1, 2]);
expect(index.search("one two")).to.eql([2]); // 1: no bi-directional
expect(index.search("four one")).to.eql([1]); // 2: no bi-directional
expect(index.search("one two")).to.eql([1]); // 2 => no bi-directional
expect(index.search("four one")).to.eql([2]); // 1 => no bi-directional
index = new Index({
tokenize: "strict",