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 <[email protected]> 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 >
