You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Cristian Lorenzetto <cr...@gmail.com> on 2016/08/22 12:21:43 UTC
inverted table
i have a curiosity
when a document is updated or deleted , lucene must update inverted table.
considering the size of record about a specific term (before used) is
changing ... how lucene resave term record?
maybe flag the old term row as tombstone?
Re: inverted table
Posted by Adrien Grand <jp...@gmail.com>.
Lucene only marks documents as deleted, it keeps the inverted index as-is.
Deleted terms are only expunged at merge time since Lucene ignores terms
that only match deleted documents.
Le lun. 22 août 2016 à 14:21, Cristian Lorenzetto <
cristian.lorenzetto@gmail.com> a écrit :
> i have a curiosity
>
> when a document is updated or deleted , lucene must update inverted table.
> considering the size of record about a specific term (before used) is
> changing ... how lucene resave term record?
>
> maybe flag the old term row as tombstone?
>