aboutsummaryrefslogtreecommitdiff
path: root/src/server/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/index.ts')
-rw-r--r--src/server/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/index.ts b/src/server/index.ts
index a93940907..91aacdb98 100644
--- a/src/server/index.ts
+++ b/src/server/index.ts
@@ -43,6 +43,8 @@ import { Response } from 'express-serve-static-core';
const MongoStore = require('connect-mongo')(session);
const mongoose = require('mongoose');
const probe = require("probe-image-size");
+var SolrNode = require('solr-node');
+var shell = require('shelljs');
const download = (url: string, dest: fs.PathLike) => request.get(url).pipe(fs.createWriteStream(dest));
@@ -139,6 +141,7 @@ app.get("/pull", (req, res) =>
}));
// SEARCH
+const solrURL = "http://localhost:8983/solr/#/dash";
// GETTERS