David and Adrien, thanks for your responses. Bringing up an old thread
here. Revisiting this question ...
> (so deleted docs == max docs) and call commit. Will/Can this segment still
> exist after commit?
SInce I am using Solr (8.11.1), the default deletion policy is
SolrDeletionPolicy which retai
On the 2nd question, we do not plan on leveraging this information to
figure out the codec: the codec that should be used to read a segment is
stored separately (also in segment infos).
It is mostly useful for diagnostics purposes. E.g. if we see an interesting
corruption case where checksums matc
> (so deleted docs == max docs) and call commit. Will/Can this segment still
> exist after commit?
>
Depends on your merge policy index deletion policy. You can configure
Lucene to keep older commits (and then you'll preserve all historical
segments).
I don't know the answer to your second quest
Following up on my questions since they didn't get much love the first
time. Any inputs are greatly appreciated!
Thanks,
Rahul
On Wed, Sep 14, 2022 at 3:58 PM Rahul Goswami wrote:
> Hello,
>
> I was going through some parts of the Lucene source and had some questions:
> 1) Can lucene have 0 doc
Hello,
I was going through some parts of the Lucene source and had some questions:
1) Can lucene have 0 document segments? Or will they always be purged
(either by TMP or otherwise) on a commit?
Eg: A segment has 4 docs, and I make a /update call to overwrite all 4 docs
(so deleted docs == max doc