Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ boolean update(long rowNum, TermsAndValues record, Map<String, String> metadata)
SearchResults getNearestNeighborRowNums(int k, TermsAndValues record, MetaFilter metadataFilter)
SearchResults getSimilarRowNums(float minSimilarity, TermsAndValues record, MetaFilter metadataFilter)
int size()
MemoryFootprint getMemoryFootprint()
void close()
```

Expand All @@ -173,6 +174,13 @@ lower `rowNum` breaking ties.
they are always in `[0.0, 1.0]`.
- An empty metadata filter matches every non-deleted row.

`getMemoryFootprint()` returns a `MemoryFootprint` with on-heap and native byte
estimates for the graduated indexes in this namespace. It excludes the active
cache and graduating caches, which are bounded by `maxCacheSize`. The call is
linear in index size, so sample it periodically rather than on every request.
See [INTEGRATION.md](INTEGRATION.md#memory-footprint) for what the estimate
includes and what it omits.

Call `close()` when you are done with a namespace. It releases any native memory
held by the dense matrix index.

Expand Down
Loading