Elasticsearch as a Graph Database

Imri Hecht
Oct 4, 2016 · 9 min read

Why Elasticsearch?

Advantages

Disadvantages

Modeling a graph into documents

Planning the indices

Performance

Write performance

Query performance

URL: experiment-index/_search?routing=12345
{
"size": 10,
"query": {
"constant_score": {
"filter": {
"terms": {
"outid": [
"XXX"
]
}
}
}
}
}
iostat results — virtual non-SSD SAN
iostat results — virtual SSD SAN

Conclusion

Imri Hecht

Written by

Co-founder and CTO at Interai (https://www.interai.co)

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade