Elasticsearch: 3 Awesome Unknown features You Must Check Out Today.

Photo by Andrea Piacquadio from Pexels

1- Search-As-You-Type Field Type

2- N-gram

{
"title": "How Trump became a president.",
"description": "You'd better do something else than trying to figure it out",
"date": "2005-04-04"
}
curl -XGET -H "Content-Type: application/json" "127.0.0.1:9200/articles/_search?pretty" -d 
'{
"query": {
"term": {
"title": "Trum"
}
}
}'

3- Highlighting

GET /_search
{
"query": {
"match": { "tag": "youtube" }
},
"highlight": {
"fields": {
"content": {}
}
}
}

Conclusion

--

--

--

Certified AWS Solution Architect, Fullstack Software Engineer & DevOps. I like Solving Challenging Software Engineering Problems & Building Amazing Solutions.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Delphi — Borderless form

Puzzle #2: how many triangles can you see?

[A scenario to code] How long will it take for all of us to get covid19?

Solving Flutter Compilation Problem Errors

How to clear the GCP associate cloud Engineer exam in first attempt ??

Kissing the state machine goodbye

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Akintola L. F. ADJIBAO

Akintola L. F. ADJIBAO

Certified AWS Solution Architect, Fullstack Software Engineer & DevOps. I like Solving Challenging Software Engineering Problems & Building Amazing Solutions.

More from Medium

Kibana: 5 Reasons Why You Should Start Using It Right Now.

IBM Message Gateway monitoring with Instana

Log Analysis with PgBadger

Setting up Docker and debugging inside the Docker container — System Design