HI Juan Pablo, Part of what fails with Lucene is not only what version is used by the code, but also what's available in the classpath. So you may also need to eliminate the conflicting versions, as if Lucene can find a newer version that can also cause a conflict. Or set both to the most recent one, Version.LATEST.
From my own Lucene version unit test: Version.LATEST, Version.LUCENE_7_5_0, Version.LUCENE_7_4_0, Version.LUCENE_7_0_0, Version.LUCENE_6_6_5, Version.LUCENE_6_5_0, Version.LUCENE_6_0_0, Cheers, Murray On 10/05/19 12:25 AM, Juan Pablo Santos Rodríguez wrote:
Hi Murray, Thanks for taking a look! I was able to make an additional test, setting jspwiki's lucene version to 7.5 (the same brought by default by tika) and had the same outcome. I did look at other tests retrieving attachments and PageRenamerTest grabs them the same way. I still have to take a better look at it, though.. best regards, juan pablo
........................................................................... Murray Altheim <murray18 at altheim dot com> = = === http://www.altheim.com/murray/ === === = = === In the evening The rice leaves in the garden Rustle in the autumn wind That blows through my reed hut. -- Minamoto no Tsunenobu