You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2014/06/05 14:14:04 UTC
[jira] [Created] (DERBY-6603) Make
LuceneSupport.createOrRecreateIndex() write the index properties file once
per indexing run
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)