Need help with Elasticsearch. Basically need someone to write the query needed for ES to return the desired search result.
The mapping is as following:
{
"palsx1493": {
"mappings": {
"pals": {
"properties": {
"aboutme": {
"type": "string"
},
"dob": {
"type": "date",
"format": "date"
},
"fccode": {
"type": "string"
},
"fcname": {
"type": "string"
},
"learning": {
"type": "nested",
"properties": {
"skillslevel": {
"type": "string"
},
"skillsname": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"rating": {
"type": "string"
},
"teaching": {
"type": "nested",
"properties": {
"skillslevel": {
"type": "string"
},
"skillsname": {
"type": "string"
}
}
},
"trate": {
"type": "string"
},
"treg": {
"type": "string"
}
}
}
}
}
}
When Searching, I need the result to return the exact match first and then just matching the teaching skillname in that prioritized order.
Exact match:
1. fcname (is crom country name and can be either a specific name or just set to Any Country.
2. dob: Date of birth is a range value - a range value is given as input
3. teaching: skillname
4. learning: skillname
Then once the exact match is in result array, then should also include teching skillname but other values can be anything.
I also need the result to be paged in chuncks of 30 items.
More info can be provided if needed.
Hi,
I'm experince node.js(MEAN stack) developer with 2 years exp in these latest technologies.
And almost 7 years of IT exp.
I have experience in Strongloop, loopBack API(Core Node.js Framework)
I can deliver good quality of code. That's a assurance from my side.
Only if you are happy with my work then only release the last payment.
Will look forward to work with you.
Cheers,
Vijay
Hi! I have 6+ years of web developing experience, I can promise quality and responsibility. One month ago developed from start elasticsearch cluster and made search by it