When a session segment is created, Tealeaf uses a default value of 1000 sessions from the search that is completed. When the defined limit of sessions is exceeded in the results, some rules are applied to the sessions to determine which ones are shown to the requesting user.
Each session is assigned a score that is based on what was found in it and the number of occurrences. The score is a count of words that were found for each search term.
- If you search for a phrase in the response, a session that contains five instances of that phrase is more likely to be returned than a session that contains two instances of the phrase.
- If you search for a session-level attribute that is displayed only once in the session, that search item yields only one hit per session. As a result, the score is consistent across all returned sessions. In this case, the most recent sessions are returned, as the search indexes are searched from new to old.
Note: Events are indexed as session-level attributes. No matter how many times an event fires in a session, it can generate one only search hit.