the elasticsearch client.
common heper for date and time operations.
common helper to issue elasticsearch queries.
Creates a timeline mapping from dates to the number of documents per date based on time expression that occur in the document content.
Creates a timeline mapping from dates to the number of documents per date based on time expression that occur in the document content.
the search query.
the timeline level.
the data source index or database name to query.
an instance of models.Aggregation consisting of models.MetaDataBucket, each representing a time unit with the number of documents for this unit.
Creates a timeline mapping from dates to the number of documents per date based on the document creation date.
Creates a timeline mapping from dates to the number of documents per date based on the document creation date.
The timeline supports different drill-down steps called "level of detail (lod)". In the most coarse grained level the result maps from grouped decades to number of documents that fall in the decade i.e. 1990-1999: 10 docs, 2000-2009: 20 docs, etc.
Similar, the most fine grained level maps from days of a month to the number of documents that fall in a certain day.
the search query.
the timeline level.
the data source index or database name to query.
an instance of models.Aggregation consisting of models.MetaDataBucket, each representing a time unit with the number of documents for this unit.
Implementation of models.services.TimelineService using an elasticsearch index as backend.