DERBY-6597: Write the properties for a Lucene index only once and not for each indexed row; commit derby-6597-01-aa-writePropertiesOutsideIndexingLoop.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1601391 13f79535-47bb-0310-9956-ffa450edef68