Skip to content

Managing multiple/changing/experimental encodings #338

Discussion options

You must be logged in to vote

add new field + mapping
index relevant content into this field

Yes, exactly.

update existing field data in previous field to be empty to recover disk space (haven't tried this so no idea if it would propagate to the underlying indices that elastiknn uses)

Elastiknn just stores all of its data in a plain Lucene index. Vectors are stored as binary blobs and LSH hashes as Lucene terms. So storage would propagate the same way as deleting a regular ES field would propagate. It probably won't immediately release space, but after you merge segments to prune deleted docs/fields you'll get the space back.

Worth mentioning that there is really no elastiknn-specific magic behind the elastiknn_*_…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@iandanforth-alation
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by iandanforth-alation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants