Added pruning
Merge remote-tracking branch 'origin/lucene' into lucene