Handling time-sliced data using aliases
There are situations in which time-sliced data is the only logical solution to go for. For example, if you are indexing logs to your SolrCloud cluster, you probably want to divide the data in time slices depending on how much data you have—if you only have index logs with error level, then you can probably live with monthly collections. If you are indexing all logs from all your applications, daily collections will probably be the way to go. With the time-sliced collections, there are a few things that the application needs to handle; for example, knowing to which collection it should currently send data to and which collection or collections should be used for querying. To simplify this, Solr allows you ...
Get Solr Cookbook - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.