Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-498

[ENH] LuceneSearchService - condional optimization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6-dev
    • 1.6-dev
    • Miscellaneous
    • None
    • All

    Description

      This enhancement adds the ability to optimize the Search indexes manually. This change also adds a configuration parameter to specify whether to optimize the indexes after each add/remove.

      o Added optional method to SearchService interface:
      public boolean optimize() throws UnsupportedOperationException;

      o Added boolean service configuration option:
      services.Search.auto_optimize=false

      There is also a logic change in the udpate() method. The add() will not proceed if the remove() did not succeed.

      Attachments

        1. patchfile.txt
          5 kB
          Enrique Lara

        Activity

          People

            jford Jeremy Lewis Ford
            enriquelara_6009 Enrique Lara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: