0
私のマッピングがElasticsearch - グループ化集合 - 2つの分野
{
"myapp": {
"mappings": {
"attempts": {
"properties": {
"answers": {
"properties": {
"question_id": {
"type": "long"
},
"status": {
"type": "long"
}
}
},
"exam_id": {
"type": "long"
}
}
}
}
}
}
であると私はすべてのために知ってほしいquestion_idとステータス
によってグループ化するには、多くはステータス1または2
を持っているかquestion_idPS 2回の試行で同じ質問が出る可能性があります