relation_types: {
        terms: { field: "relation_type_id", size: 10, min_doc_count: 1 },
        aggs: {
          year_month: {
            date_histogram: {