Is there a limit for the creation of analytical tags?

Hi there :wave:

We are planning to implement search history for our users using the Analytics API as shown in this example.

Given search queries will be tagged then by user, for example like so user:unique_id, and that we have millions of users and growing, the question we had was:

  • is there a limit to the number of tags that can be stored/managed in EAS ?

Thanks in advance

Hello,

You should be able to use tags this way.
It should not be a problem at search time, the analytics.tags can contain random string values.
The Search API should act just the same as if the analytics.tags only contain values from a very strict/limited set of values. The analytics.tags values have no effect for the Search or Click APIs.
The only problem might be that you might hit some limitations of the Analytics page for that engine.
For example the Analytics page has a tag filter which will show a limited number of tags.
You should still be able to use Analytics API to query the analytics events and filter them by tags.

Depending on the Elasticsearch cluster size and how long you intend to keep the search history, you might be interested in the log retention settings: Log retention | Elastic Enterprise Search documentation [8.6] | Elastic.

Thanks for the response @ioana.tagirta

For example the Analytics page has a tag filter which will show a limited number of tags.

Good to know. Can't we search/filter through the tags even it not shown initially ?

Is this a limitation of the analytics' dashboard today that it is going to be worked on in the near feature?

You should be able to use tags this way

To double confirm: no issues in creating "unlimited" (a.k.a millions) number of tags, correct ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.