Backwards-compatible implementation to match {@link org.apache.lucene.util.Version#LUCENE_4_0}