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

minor refactoring, dedupe default on

This commit is contained in:
Thomas Wilkerling
2025-04-06 18:38:07 +02:00
parent 91aff88510
commit 0abd307853
69 changed files with 1470 additions and 3991 deletions

View File

@@ -120,10 +120,10 @@ describe("Context", function(){
index = new Index({ context: true });
index.add(1, "1 A B C D 2 E F G H I 3 J K L");
index.add(2, "A B C D E F G H I J 1 2 3 K L");
result = result = index.search("1 2 3");
result = index.search("1 2 3");
expect(result[0]).to.equal(2);
index.search("1 2 3", { context: false });
result = index.search("1 2 3", { context: false });
expect(result[0]).to.equal(1);
});
});