You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content can't be null yet, otherwise this is done in e41f5c7
Allowing content to be null might change the API a bit -- I want to think about that
cinnamon-bun
changed the title
Add contentHash field to allow handling docs without actual content
Sparse mode: handle documents without their actual content
Aug 6, 2020
Document signatures should depend on the hash of the content, not the content itself.
This would let you:
Add
contentHash
fieldcontentHash
field to documentssha256(content)
contentHash
and notcontent
when hashing a documentAllow content to be null
content
to benull
, meaning it's missing (note, empty documents are stillcontent: ""
)null
includeContent: boolean
(include or omit the content itself in the returned docs)hasContent: boolean
(find docs with missing content, or existing content)The text was updated successfully, but these errors were encountered: