Context suggester large number of categories

I'm considering to use the context suggester to autocomplete some user
specific categories. The idea here is that users can create their own tags
and should see only suggestions for their own tags.

One solution is to use the complettion suggester with a context and use the
userId as the category. However, I'm wondering how that scales with the
number of users. Is there any guidance on using this solution with a large
number of categories? The idea would be that I would have a large number of
users with possibly thousands of unique suggestions each.

Is this the right solution or do I need to look at using e.g. edge n-grams
with a term filter on the user_id?

Jilles

--
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/35bb8ca0-218f-4632-b82b-bd8416499e19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.