You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Nhat Nguyen (Jira)" <ji...@apache.org> on 2022/02/03 04:48:00 UTC

[jira] [Commented] (LUCENE-10392) Handle soft deletes via LiveDocsFormat

    [ https://issues.apache.org/jira/browse/LUCENE-10392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486213#comment-17486213 ] 

Nhat Nguyen commented on LUCENE-10392:
--------------------------------------

+1. That'd be great. We can avoid writing docValues in refresh with soft deletes.

> Handle soft deletes via LiveDocsFormat
> --------------------------------------
>
>                 Key: LUCENE-10392
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10392
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Adrien Grand
>            Priority: Minor
>
> We have been using doc values to handle soft deletes until now, but this is a bit of a hack as it:
>  - forces users to reserve a field name for doc values
>  - generally doesn't read directly from doc values, instead docs values help populate bitsets and then reads are performed via these bitsets
> It would also be more natural to have both hard and soft deletes handled by the same file format?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org