lucene
1918
Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.
1
org/apache/lucene/index/DirectoryReader.java
class DirectoryReader.ReaderCommit { ReaderCommit(SegmentInfos infos, Directory dir) throws IOException { segmentsFileName = infos.getCurrentSegmentFileName(); this.dir = dir; userData = infos.getUserData(); files = Collections.unmodifiableCollection(infos.files(dir, true)); version = infos.getVersion(); generation = infos.getGeneration(); isOptimized = infos.size() == 1 && !infos.info(0).hasDeletions(); } }
0.92
12.44
SegmentInfos.info (int) : SegmentInfo @ (0) < SegmentInfos.info (int) : SegmentInfo @ (0)
23
SegmentInfos.size () : int @ (0) < SegmentInfos.info (int) : SegmentInfo @ (0)