Add configuration option for Lucene's UseCompoundFile

Description

http://forum.hibernate.org/viewtopic.php?t=990096

Lucene's IndexWriter has an option to setUseCompoundFile(boolean),
add a configuration option to let users enable it and write some warnings in documentation about performance effects.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Time tracking

2h

Components

Fix versions

Priority

Trivial
Configure