lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: Slow DirectoryReader.open
Date Tue, 18 Jul 2017 19:55:16 GMT
This looks very slow indeed. Maybe you have tons of fields? Otherwise maybe
try to profile the Directory.open call?

Le mar. 18 juil. 2017 à 20:03, Yan Zhao <zhaoyan1117@gmail.com> a écrit :

> Hi folks,
>
> Some questions about performance of `DirectoryReader.open`.
>
> I have a RAMDirectory containing less than 500 documents, the directory
> size is around 50kb only.
>
> However, calling `DirectoryReader.open` on it is very slow, the p50 is
> around 1.5 second and p99 is around 6.5 seconds.
>
> Any idea why is it slow? Or how I can speed it up?
>
> Thanks in advance!
> Yan
>

Mime
View raw message