Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6603

Make LuceneSupport.createOrRecreateIndex() write the index properties file once per indexing run

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • SQL
    • None
    • Normal

    Description

      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:

                      writeIndexProperties( propertiesFile, indexProperties );
      

      I don't think that writing the file for every row is a correctness problem. It's just inefficient and unnecessary.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: