Hello!
I want to use skip property in Weaviate, so some properties on my schema are not part of the generated vector.
I then want to be able to update a skip'd property, and it should not regenerate the vector, because that was the only property I updated, and it is not part of the vector.
It doesn't work currently. This is because weaviate-ruby is sending PUT rather than PATCH. I.e. it's replacing the entire object, which results in it regenerating the vector anyway, even if I'm only wanting to update a single, skipped property.
Suggest you have separate update and replace methods, which trigger PATCH and PUT respectively.
I forked the repo, and made this change myself, and it seems to work OK for me.
Hello!
I want to use
skipproperty in Weaviate, so some properties on my schema are not part of the generated vector.I then want to be able to update a
skip'd property, and it should not regenerate the vector, because that was the only property I updated, and it is not part of the vector.It doesn't work currently. This is because
weaviate-rubyis sendingPUTrather thanPATCH. I.e. it's replacing the entire object, which results in it regenerating the vector anyway, even if I'm only wanting to update a single, skipped property.Suggest you have separate
updateandreplacemethods, which triggerPATCHandPUTrespectively.I forked the repo, and made this change myself, and it seems to work OK for me.