Re: Reindexing leaving behind 0 live doc segments

2023-08-28 Thread Mikhail Khludnev
Hi Rahul. Are you looking for https://lucene.apache.org/core/9_0_0/core/org/apache/lucene/index/IndexWriter.html#forceMergeDeletes() ? On Tue, Aug 29, 2023 at 5:20 AM Rahul Goswami wrote: > Hello, > I am trying to execute a program to read documents segment-by-segment and > reindex to the same i

Reindexing leaving behind 0 live doc segments

2023-08-28 Thread Rahul Goswami
Hello, I am trying to execute a program to read documents segment-by-segment and reindex to the same index. I am reading using Lucene apis and indexing using solr api (in a core that is currently loaded). What I am observing is that even after a segment has been fully processed and an autoCommit (