<commit_before>define([
    'jquery',
    'underscore',
    'backbone',
    'app',
    'text!../../../templates/search/query_input.html'
],
function($, _, Backbone, app, queryInputTemplate){
    var QueryInputView = Backbone.View.extend({
        events: {
            'submit': 'searchOnEnter',
            'click i': 'changeSearchFields'
        },

        render: function(){
            this.$el.html(_.template(queryInputTemplate, {
                searchFields: AVAILABLE_SEARCH_FIELDS
            }));

            this.$el.find('i').tooltip();
        },

        changeSearchFields: function(e){
            var available_fields = AVAILABLE_SEARCH_FIELDS;
            var checked_fields = [];<commit_msg>Rename AVAILABLE_SEARCH_FIELDS to AVAILABLE_INDICES<commit_after>define([
    'jquery',
    'underscore',
    'backbone',
    'app',
    'text!../../../templates/search/query_input.html'
],
function($, _, Backbone, app, queryInputTemplate){
    var QueryInputView = Backbone.View.extend({
        events: {
            'submit': 'searchOnEnter',
            'click i': 'changeSearchFields'
        },

        render: function(){
            this.$el.html(_.template(queryInputTemplate, {
                searchFields: AVAILABLE_INDICES
            }));

            this.$el.find('i').tooltip();
        },

        changeSearchFields: function(e){
            var available_fields = AVAILABLE_INDICES;
            var checked_fields = [];
{'fraction_non_alphanumeric': 0.14030261348005502, 'fraction_numerical': 0.0, 'mean_word_length': 2.1493506493506493, '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': '2133042', 'n_tokens_mistral': 419, 'n_tokens_neox': 412, 'n_words': 67}