Object update revectorize

Hey everyone! Have a question, when an object is updated, if property is the same, will it be revectorized?

For example:

obj = {id:1, content: ‘some content’, content2: ‘some other content’}

const response = await myCollection.data.update({
id: 1,
properties: {
‘content’: ‘some content’,
‘content2’: ‘updated content 2’
},

hi @Denis_K !! Welcome to our community :hugs:

It will!

Unless you explicitly set the property to skip vectorization or you have named vectors that do not reference that property.

So in your example, given that skip vectorization is False by default and you have not set it to True, Weaviate will revectorize that object, so the new vector has the meaning that “updated content 2” will add to that object.

In order to vectorize an object, Weaviate will, according to your collection configuration, concatenate collection name and properties names and values that should be vectorized, and the end result is then sent to the embedding model to generate the vectors.

Here you can check the exact steps Weaviate will do on generating the payload for the vectorization step:

Let me know if this helps!

Thanks!