{"version":3,"sources":["jsdelivr-header.js","/npm/sails-hook-solr@0.1.5/lib/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,KAAO,QAAQ,cAEnB,OAAO,QAAU,SAAS,GAwBxB,MAvBY,CAGV,SAAU,CACR,KAAM,CACJ,OAAQ,CACN,KAAM,YACN,KAAM,OACN,KAAM,QACN,QAAQ,EACR,QAAQ,KAId,WAAY,SAAS,GAMnB,OALA,EAAM,GAAG,mBAAmB,WAC1B,KAAK,cAAc,GAAO,WACxB,EAAM,IAAI,QAAQ,0BACpB,GACF,IACO,GACT,EAGJ","file":"/npm/sails-hook-solr@0.1.5/lib/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/sails-hook-solr@0.1.5/lib/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","var solr = require('./solr/app');\n\nmodule.exports = function(sails) {\n  var hook =  {\n    // Implicit default configuration\n    // (mixed in to `sails.config`)\n    defaults: {\n      solr: {\n        client: {\n          host: 'localhost', // - IP address or host address of the Solr server\n          port: '8983', // - port of the Solr server\n          path: '/solr', // - root path of all requests\n          secure: false, // - if true HTTPS will be used instead of HTTP\n          bigint: false // - if true JSONbig serializer/deserializer will be used instead\n        }\n      }\n    },\n    initialize: function(cb) {\n      sails.on('hook:orm:loaded', function (){\n        solr.prepareModels(sails, function (){\n          sails.log.verbose('sails-hook-solr:: done!');\n        });\n      });\n      return cb();\n    }\n  };\n  return hook;\n};"]}