lucene
1918
Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.
finding-1
org/apache/lucene/index/DirectoryReader.java
ReaderCommit(SegmentInfos, Directory)
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(); } }
1
0.92
12.44
23