Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

curl -XPUT -H "Content-Type:application/json" http://localhost:9200/_all/_settings -d '{ "index.blocks.read_only_allow_delete": null }'


Improve harvester speed

The harvesting process can be quite consuming. For simulated data and external forecasts both the available netcdf-files and the available time series are stored in the catalogue. The indexing of the time series of simulated data and external forecasts consumes a lot of time.

These indeces are only needed when you want to retrieve simulated data or external forecasts from the archive by using the pi webservice. This feature is only used by limited amount of clients. If you dont use this feature then you can disable this indexing by the following configuration option the archiveServerConfig.xml. Below an example.

<archiveServer xmlns:arc="http://www.wldelft.nl/fews/archive" xsi:schemaLocation="http://www.wldelft.nl/fews/archive http://fews.wldelft.nl/schemas//version1.0/archive-schemas/archiveServer.xsd" xmlns="http://www.wldelft.nl/fews/archive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <archiveEnvironmentName>$prop1$</archiveEnvironmentName>
    <baseUrlFileServer>http://localhost:8080/thredds/fileServer/Archive</baseUrlFileServer>
    <baseUrlArchiveRootFolder>file:///d:\fews\archive\</baseUrlArchiveRootFolder>
    <indexForecastTimeSeries>false</indexForecastTimeSeries>
</archiveServer>