[ 
https://issues.apache.org/jira/browse/DERBY-6603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Hillegas closed DERBY-6603.
--------------------------------

    Resolution: Duplicate

Closing this as a duplicate of DERBY-6597.

> 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)

Reply via email to