Skip to main content
A Fusion collection can be configured to map to multiple Solr collections, known as partitions in this context, where each partition contains data from a specific time range. An example is time-based partitioning for logs: time based partitioning Once a collection is configured for time-base partitioning, Fusion automatically ages out old partitions and creates new ones, using the configured partition sizes, expiration intervals, and so on. No manual maintenance is needed. This feature is not enabled by default. Enable it for each collection using the Collection Features API.
Fusion cannot retroactively partition data that has already been indexed. It can only perform time-based partitioning on incoming data.

Learn more

A Fusion collection can be configured to map to multiple Solr collections, known as partitions in this context, where each partition contains data from a specific time range. An example is time-based partitioning for logs:time_based_partitioning
  • In the UI, you can only enable time-based partitioning for new collections.
  • In the API, you can only enable time-based partitioning for existing collections.

Enablement using the Fusion UI

  1. Open the Collections Manager: Collections Manager
  2. Click New.
    In the UI, you can only enable time-based partitioning for new collections. To enable it for an existing collection, use the API.
  3. Click Advanced. Advanced
  4. Scroll down to “Time Series Partitioning”.
  5. Click Enable.\ Enable Time Series Partitioning When you enable this option, Fusion displays the time series partitioning configuration options.
  6. Save the collection.

Enablement using the API

Use the Collection Features API] to enable time-based partitioning for an existing collection.Enable time-based partitioning using the default configuration:
curl -X PUT -H 'Content-type: application/json' -d '{"enabled": true}' http://localhost:8764/api/collections/COLLECTION_NAME/features/partitionByTime
No response is returned.Submit an empty request to the same endpoint to verify that time-based partitioning is enabled:
curl -X GET http://localhost:8764/api/collections/COLLECTION_NAME/features/partitionByTime
Response:
{
  "name" : "partitionByTime",
  "collectionId" : "COLLECTION_NAME",
  "params" : { },
  "enabled" : true
}
I