<commit_before><template>
    <div id="search-content">
        <questions v-if="hasQuestions"></questions>
        <users v-if="hasUsers"></users>
        <commitments v-if="hasCommitments"></commitments>

        <questions-no-result v-if="!hasQuestions"></questions-no-result>
        <users-no-result v-if="!hasUsers"></users-no-result>
        <commitment-no-result v-if="!hasCommitments"></commitment-no-result>
    </div>
</template>

<script>
    import Users from '~/components/search/users/users';
    import UsersNoResult from '~/components/search/users/noResult';
    import Questions from '~/components/search/questions/questions';
    import QuestionsNoResult from '~/components/search/Questions/noResult';
    import Commitments from '~/components/search/commitments/commitments';
    import CommitmentNoResult from '~/components/search/commitments/noResult';

    export default {
        async fetch({error, store, query}) {
            try {
                await store.dispatch(`search/search`, query.query)
            } catch (e) {<commit_msg>Bugfix: Changed to lower case.<commit_after><template>
    <div id="search-content">
        <questions v-if="hasQuestions"></questions>
        <users v-if="hasUsers"></users>
        <commitments v-if="hasCommitments"></commitments>

        <questions-no-result v-if="!hasQuestions"></questions-no-result>
        <users-no-result v-if="!hasUsers"></users-no-result>
        <commitment-no-result v-if="!hasCommitments"></commitment-no-result>
    </div>
</template>

<script>
    import Users from '~/components/search/users/users';
    import UsersNoResult from '~/components/search/users/noResult';
    import Questions from '~/components/search/questions/questions';
    import QuestionsNoResult from '~/components/search/questions/noResult';
    import Commitments from '~/components/search/commitments/commitments';
    import CommitmentNoResult from '~/components/search/commitments/noResult';

    export default {
        async fetch({error, store, query}) {
            try {
                await store.dispatch(`search/search`, query.query)
            } catch (e) {
{'fraction_non_alphanumeric': 0.14731934731934732, 'fraction_numerical': 0.0, 'mean_word_length': 3.292, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '5086563', 'n_tokens_mistral': 631, 'n_tokens_neox': 599, 'n_words': 112}