Rick Hillegas created DERBY-6603:
------------------------------------
Summary: Make LuceneSupport.createOrRecreateIndex() write the
index properties file once per indexing run
Key: DERBY-6603
URL: https://issues.apache.org/jira/browse/DERBY-6603
Project: Derby
Issue Type: Improvement
Components: SQL
Reporter: Rick Hillegas
That method re-writes the index properties file for every row read from the
table/view, rather than once per table/view. The following line should be moved
out of the loop at the end of the method:
{noformat}
writeIndexProperties( propertiesFile, indexProperties );
{noformat}
I don't think that writing the file for every row is a correctness problem.
It's just inefficient and unnecessary.
--
This message was sent by Atlassian JIRA
(v6.2#6252)