When calling the LocalRetrieval.getDocuments() method, the following warning is returned (only once per program run):
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.xerial.snappy.SnappyLoader (file:/Users/shiri/.m2/repository/org/xerial/snappy/snappy-java/1.0.5-M4/snappy-java-1.0.5-M4.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.xerial.snappy.SnappyLoader
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
The error seems to come from DiskIndex.getDocument (but I can't verify at this point).