mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-09-03 10:53:41 +02:00
update readme part 2 of 2
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
## Big In-Memory Keystores
|
||||
|
||||
The default maximum keystore limit for the In-Memory index is 2^24 of distinct terms/partials being stored (so-called "cardinality"). An additional register could be enabled and is dividing the index into self-balanced partitions.
|
||||
The default maximum keystore limit for the In-Memory index is 2^24 of distinct terms/partials being stored (cardinality).
|
||||
An additional register could be enabled and is dividing the index into self-balanced partitions.
|
||||
The extended keystore is supported by any type of index.
|
||||
|
||||
```js
|
||||
const index = new FlexSearchIndex({
|
||||
const index = new Index({
|
||||
// e.g. set keystore range to 8-Bit:
|
||||
// 2^8 * 2^24 = 2^32 keys total
|
||||
keystore: 8
|
||||
@@ -14,4 +16,5 @@ You can theoretically store up to 2^88 keys (64-Bit address range).
|
||||
|
||||
The internal ID arrays scales automatically when limit of 2^31 has reached by using Proxy.
|
||||
|
||||
> Persistent storages has no keystore limit by default. You should not enable keystore when using persistent indexes, as long as you do not stress the buffer too hard before calling `index.commit()`.
|
||||
> Persistent storages has no keystore limit by default.
|
||||
> You should not enable keystore when using persistent indexes, as long as you do not stress the buffer too hard before calling `index.commit()`.
|
||||
|
Reference in New Issue
Block a user