Lucene: allow configuring writer flush options

Use index.changes_{open,closed}.{ramBufferSize,maxBufferedDocs} in the
server config to set the corresponding parameters on the
IndexWriterConfigs.

Change-Id: Idaa3ac3c541c330ceee052e8de23a63aea0dcf30
3 files changed