Package

models

services

Permalink

package services

Provides classes for accessing the underlying data.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. services
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait AggregateService extends AnyRef

    Permalink

    Defines common data access methods for generating aggregated data based on a search query.

    Defines common data access methods for generating aggregated data based on a search query.

    The search query is given as models.Facets. The service builds analytic information over a set of documents and provides the result as models.Aggregation. Such a models.Aggregation consists of a list of models.Bucket, where each bucket is associated with a key and the number of documents that match the given search query. The trait further supports mechanisms to exclude and include specific keys.

    The trait is implemented by models.services.ESAggregateService, which uses an elasticsearch index as backend.

    Annotations
    @ImplementedBy()
  2. trait DBDocumentService extends DocumentService

    Permalink

    Partial implementation of models.services.DocumentService using a relational database.

    Partial implementation of models.services.DocumentService using a relational database.

    Retrieving large documents via ES is slow. We therefore use the database to fetch documents. Further, user-generated data like tags are stored in the database as well.

  3. class DBEntityService extends EntityService

    Permalink

    Implementation of models.services.EntityService using a relational database.

  4. trait DocumentService extends AnyRef

    Permalink

    Defines common data access methods for retrieving and annotating documents.

    Defines common data access methods for retrieving and annotating documents.

    The trait is implemented by models.services.FinalDocumentService, which uses mixed-in composition in order to combine models.services.DBDocumentService and models.services.ESDocumentService.

    Annotations
    @ImplementedBy()
  5. class ESAggregateService extends AggregateService

    Permalink

    Implementation of models.services.AggregateService using an elasticsearch index as backend.

    Implementation of models.services.AggregateService using an elasticsearch index as backend.

    See also

    See ES documentation for more information.

  6. abstract class ESDocumentService extends DocumentService

    Permalink

    Partial implementation of models.services.DocumentService using an elasticsearch index as backend.

  7. class ESNetworkService extends NetworkService

    Permalink

    Implementation of models.services.NetworkService using an elasticsearch index as backend.

  8. class ESTimelineService extends TimelineService

    Permalink

    Implementation of models.services.TimelineService using an elasticsearch index as backend.

  9. class ESTransportClient extends SearchClientService

    Permalink

    Wrapper around an ElasticSearch TransportClient node.

    Wrapper around an ElasticSearch TransportClient node.

    Annotations
    @Singleton()
  10. trait EntityService extends AnyRef

    Permalink

    Defines common data access methods for retrieving and manipulating models.Entity.

    Defines common data access methods for retrieving and manipulating models.Entity.

    The trait is implemented by models.services.DBDocumentService.

    Annotations
    @ImplementedBy()
  11. class FinalDocumentService extends ESDocumentService with DBDocumentService

    Permalink

    Combines the elasticsearch and relational database implementations via mixed-in composition.

  12. trait NetworkService extends AnyRef

    Permalink

    Defines common method for creating and extending co-occurrence networks given a search query.

    Defines common method for creating and extending co-occurrence networks given a search query.

    The trait is implemented by models.services.ESNetworkService.

    Annotations
    @ImplementedBy()
  13. trait SearchClientService extends AnyRef

    Permalink

    Wrapper around an ElasticSearch Client.

    Wrapper around an ElasticSearch Client. Different ways of obtaining a Client can be implemented in classes implementing this interface.

    Annotations
    @ImplementedBy()
  14. trait TimelineService extends AnyRef

    Permalink

    Defines common methods for creating timeline instances based on document creation dates and time expressions matching a search query.

    Defines common methods for creating timeline instances based on document creation dates and time expressions matching a search query.

    The trait is implemented by models.services.ESTimelineService.

    Annotations
    @ImplementedBy()

Inherited from AnyRef

Inherited from Any

Ungrouped