Recently I am getting lots of index corruption exception. I am using lucene
4.3.
org.apache.lucene.index.CorruptIndexException: codec header mismatch: actual
header=592666996 vs expected header=1071082519 (resource:
MMapIndexInput(path="/2015/06/06/1433548802/_qn0.si"))
2015-07-03_04:31:38.57975
Thanks Adrien…
Works like a charm!!!
On Wed, Jul 1, 2015 at 10:22 PM, Adrien Grand wrote:
> Hi Ravikumar,
>
> You need to run a BooleanQuery with two clauses:
> - a must clause that matches all parent documents
> - a must_not clause that matches all parents that have children
>
> Building thi