I have a mapping like this:
"properties": {
"id": {"type": "long", "index": "not_analyzed"},
"name": {"type": "string", "index": "not_analyzed"},
"skills": {"type": "string", "index": "not_analyzed"}
}
I wanna store students' profiles in elasticsearch using the given mapping. skills
is a list of computer skills they specified on their profiles (python, javascript, ...).
Given a skill set like ['html', 'css', 'sass', 'javascript', 'django', 'bootstrap', 'angularjs', 'backbone']
, I wanna find all profiles that have at least 3 of the skills in this skill set. I am not interested in knowing which skills they have in common with our desired list, just interested in the count. Is there a way to do this in elasticsearch?