Skip to content

clustering ideas #364

Answered by alexklibisz
priamai asked this question in Q&A
Discussion options

You must be logged in to vote

You can't really do clustering with only Elasticsearch/Elastiknn; you need some other system as well.

Elasticsearch (and therefore also Elastiknn) is designed around a request-response model, dealing with a single document to index or a single query to execute. So you make a request and get the answer out of the cluster and back to the user as fast as possible. This means there's really no place to execute long-running iterative clustering techniques like K-means.

What you could do is this: run the clustering algorithm in some other system and use Elasticsearch/Elastiknn to store and retrieve them. So you basically start by running K-means for some representative subset of the document ve…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by alexklibisz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Q&A Questions (and hopefully answers) about Elastiknn usage
2 participants
Converted from issue

This discussion was converted from issue #283 on July 17, 2022 17:47.