<commit_before>Server Side Search
==================

.. _module:search:

The search API allows clients to perform full text search across events in all
rooms that the user has been in, including those that they have left. Only
events that the user is allowed to see will be searched.

Client behaviour
----------------
{{search_http_api}}

Search Categories<commit_msg>Clarify that this doesn't include events that occurred after you left the room.<commit_after>Server Side Search
==================

.. _module:search:

The search API allows clients to perform full text search across events in all
rooms that the user has been in, including those that they have left. Only
events that the user is allowed to see will be searched, e.g. it won't include
evnets in rooms that happened after you left.

Client behaviour
----------------
{{search_http_api}}

Search Categories
{'fraction_non_alphanumeric': 0.11670480549199085, 'fraction_numerical': 0.0, 'mean_word_length': 3.971590909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1534912', 'n_tokens_mistral': 212, 'n_tokens_neox': 206, 'n_words': 119}