<commit_before>## Search API

Search and filtering are provided on `/search`.

You can also use community specific endpoints, i.e: `/{community-name}/search`

For communities, like `ce-registry` which has specific resource types,
you can also use endpoints like `/{community-name}/{type}/search`.

The search params are described below:

### General definition

Usually takes the following format, with some modifiers which will be specified
along this document:

```
GET /search?fts=fuzzy_search_term&filter1=term1&filter2=term2`
```

### Empty Search<commit_msg>Link to the new graphql doc files<commit_after>## Search API

Search and filtering are provided on `/search`.

You can also use community specific endpoints, i.e: `/{community-name}/search`

For communities, like `ce-registry` which has specific resource types,
you can also use endpoints like `/{community-name}/{type}/search`.

This page describes the old search functionality. You might be looking for the
[graph search spec](/docs/graphql-spec.md) or the
[graph search examples](/docs/graphql-examples.md).

The search params are described below:

### General definition

Usually takes the following format, with some modifiers which will be specified
along this document:

```
GET /search?fts=fuzzy_search_term&filter1=term1&filter2=term2`
```

### Empty Search
{'fraction_non_alphanumeric': 0.10075187969924812, 'fraction_numerical': 0.006015037593984963, 'mean_word_length': 5.308056872037914, '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': '5957727', 'n_tokens_mistral': 385, 'n_tokens_neox': 359, 'n_words': 150}