how can I change the hash algorithm to control the end vbucket of a document?

how can I change the hash algorithm to control the end vbucket of a document?
I want to be able to store all user documents in the same vbucket.
thank you.

1 Answer

« Back to question.

I ended up changing the client library I used to make it work:)
I also changed elasticsearch-transport-plugin so some docs will go to different doc types in elastic search.