Fabio Massimo Ercoli This should already be fixed, but we need a test. A Lucene-specific integration test taking advantage of the .document() projection (to check what was indexed exactly) should do the trick.
Let's talk about it before you start?