aboutsummaryrefslogtreecommitdiff
path: root/src/server/Search.ts
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-04-22 19:56:49 -0400
committerab <abdullah_ahmed@brown.edu>2019-04-22 19:56:49 -0400
commit94fa065ae2a0f3ccb6a16141a45f11543add3b63 (patch)
tree018aed9bb0073a0abc6e99842cdfabd44f6decb1 /src/server/Search.ts
parentd77951f2f29b5b7b4869128116c3627d77e2c73b (diff)
exploratory sprint
Diffstat (limited to 'src/server/Search.ts')
-rw-r--r--src/server/Search.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/Search.ts b/src/server/Search.ts
index 7d8602346..bcea03d5c 100644
--- a/src/server/Search.ts
+++ b/src/server/Search.ts
@@ -6,6 +6,7 @@ export class Search {
private url = 'http://localhost:8983/solr/';
public updateDocument(document: any): rp.RequestPromise {
+ console.log(JSON.stringify(document));
return rp.post(this.url + "dash/update/json/docs", {
headers: { 'content-type': 'application/json' },
body: JSON.stringify(document)