In Lucene 4.x this has now become standard and performant. I would recommend adding this functionality through the DSL and adding it to the 5.0 roadmap.