Skip to content

Elasticsearch Indexes

Lidia edited this page Mar 29, 2019 · 2 revisions

The assessment is stored in Elasticsearch cluster. For each assessed project we have a separated set of indexes identified by a suffix in the name, i.e. index_name.project_suffix

Strategic indicators

This index contains the assessment of the strategic indicators.

Name of the index: strategic_indicators.suffix

Attributes:

  • project (keyword)
  • strategic_indicator (keyword): identifying the strategic indicator, this is the field that is used to link the information about the strategic indicator with the information in the database.
  • name
  • description
  • evaluationDate
  • value (double): quantitative value of the assessment (0..1)
  • estimation: nested attribute with the qualitative value of the assessments. A list of caterogies and the probability of having this category as assessment
    • category_id
    • category_name
    • probability
  • datasource

Product factors and process factors

This index contains the assessment of the factors.

Name of the index: factors.suffix

Attributes:

  • project (keyword)
  • factor (keyword): identifying the factor
  • evaluationDate (date)
  • indicators (keyword)
  • weights (double)
  • name (keyword)
  • description (text)
  • datasource (keyword)
  • value (double)
  • info (text): explanation of the factor value

Assessed metrics

This index contains the assessment of the metrics.

Name of the index: metrics.suffix

Attributes:

  • project (keyword)
  • metric (keyword)
  • evaluationDate (date)
  • factors (array of factors IDs)
  • weights (double)
  • name (keyword)
  • description (text)
  • datasource (keyword)
  • value(double)
  • info (text): explanation of the value

Relations

This index contains the information about how the assessment has been calculated, which elements and weights has been used in an especific assessment. For example for factor1, the index contains one entry per each metric used in its computation and the computation details.

Name of the index: relations.suffix

Attributes:

  • evaluationDate (date)
  • project (keyword)
  • relation(keyword)
  • sourceId (keyword)
  • sourceLabel (text)
  • sourceType (keyword)
  • targetId (keyword)
  • targetType (keyword)
  • targetValue (text)
  • value (double)
  • weight (double)
Clone this wiki locally