Skip to content

Commit f1818b2

Browse files
committed
fix typo in documentation #380
1 parent a08965f commit f1818b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/0.7.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ index.append(1, "index appended content");
359359

360360
When you query `index.search("index")` then you will get index id 1 as the first entry in the result, because the context starts from zero for the appended data (isn't stacked to the old context) and here "index" is the first term.
361361

362-
If you didn't want this behavior than just ust `index.add(id, content)` and provide the full length of content.
362+
If you didn't want this behavior then just ust `index.add(id, content)` and provide the full length of content.
363363

364364
#### Check existence of already indexed IDs
365365

@@ -1235,7 +1235,7 @@ index.export(function(key, data){
12351235
});
12361236
```
12371237

1238-
Exporting data to the localStorage isn't really a good practice, but if size is not a concern than use it if you like. The export primarily exists for the usage in Node.js or to store indexes you want to delegate from a server to the client.
1238+
Exporting data to the localStorage isn't really a good practice, but if size is not a concern then use it if you like. The export primarily exists for the usage in Node.js or to store indexes you want to delegate from a server to the client.
12391239

12401240
> The size of the export corresponds to the memory consumption of the library. To reduce export size you have to use a configuration which has less memory footprint (use the table at the bottom to get information about configs and its memory allocation).
12411241

0 commit comments

Comments
 (0)