Another multitenant scenario

Hi guys!

I'm looking to find the best indexing strategy for my multitenant data.

Here is my scenario:

  • Tenants: > 10000
  • Each tenant has "User" documents where all of these docs have common
    fields, but also they have tenant-specific fields:
    • { tenant: "contoso", name: "peter", location: { id: 1, City: "New
      York", Street: "57th St" }, metadata: { foo: { bar: "test" } } }
    • { tenant: "fabrikam", name: "mary", location: "San Francisco",
      metadata: { foo: ["bar", "test"] }, plan: "gold" }
    • { tenant: "fabrikam", name: "john", location: "Seattle", metadata:
      { foo: ["abc", "xyz"] }, plan: "silver" }

Any ideas?
Thanks!

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/530c9dbe-3735-4c49-b6a9-9127ccca6d24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.