<commit_before>define(["jquery", "lodash"], function($, _) {
  "use strict";

  // Create a callback function for caching the jsonp response.
  window.solrResponse = function(response) {};

  /**
   * SolrAdapter acts as a mediator between Solr and the Campaign Finder.
   *
   * @type {Object}
   */
  var SolrAdapter = {
    /*
     * Sets how long after a user interaction we run the Solr query. As the
     * name implies, this is a throttling mechanism that prevents the browser
     * from pinging Solr every...single...time...a checkbox is changed.
     **/
    throttleTimeout: 400,

    /*
     * Configure this too. What's the base URL of the Solr server that you want
     * the browser pinging? And what collection?
     **/
    baseURL: "http://98.129.111.171/solr/",
    collection: "collection1",

    // The current throttle timeout identifier
    throttle: null,

    // This would be awesome with an object key:value, but Solr allows multiple of the same key
    defaultQuery: [
      "fq=bundle:campaign",
      //"fq=ss_field_search_image:[* TO *]",
      "wt=json",
      "indent=false",
      "facet=true",
      "facet.field=fs_field_active_hours",
      "facet.field=im_field_cause",<commit_msg>Changing finder to use search.ds.org<commit_after>define(["jquery", "lodash"], function($, _) {
  "use strict";

  // Create a callback function for caching the jsonp response.
  window.solrResponse = function(response) {};

  /**
   * SolrAdapter acts as a mediator between Solr and the Campaign Finder.
   *
   * @type {Object}
   */
  var SolrAdapter = {
    /*
     * Sets how long after a user interaction we run the Solr query. As the
     * name implies, this is a throttling mechanism that prevents the browser
     * from pinging Solr every...single...time...a checkbox is changed.
     **/
    throttleTimeout: 400,

    /*
     * Configure this too. What's the base URL of the Solr server that you want
     * the browser pinging? And what collection?
     **/
    baseURL: "http://search.dosomething.org/solr/",
    collection: "collection1",

    // The current throttle timeout identifier
    throttle: null,

    // This would be awesome with an object key:value, but Solr allows multiple of the same key
    defaultQuery: [
      "fq=bundle:campaign",
      //"fq=ss_field_search_image:[* TO *]",
      "wt=json",
      "indent=false",
      "facet=true",
      "facet.field=fs_field_active_hours",
      "facet.field=im_field_cause",
{'fraction_non_alphanumeric': 0.11462130417172944, 'fraction_numerical': 0.007695423248278655, 'mean_word_length': 2.7883435582822087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '16878', 'n_tokens_mistral': 787, 'n_tokens_neox': 736, 'n_words': 245}