I have an index named DataIndex. It has two types: posts and users.
The posts have an user which has small info like just id, name but it has
more. And I regulary update users some fields like followers count,age etc
. So I must do below jobs:
- When I run on posts type, I want to join users.
- I want to join user's posts. So I can retrieval that the user has 1000
You can suggest using Nested Objects or Parent/Child object. But I
regulerly update users therefore I can't use nested objects. Parent-Child has
a cost in terms of performance and memory used.
I want to know is there any method doing this jobs with high performance.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1ce3fb77-8ada-4716-83cf-897d202d7611%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.