Updated match demo and all demo to reflect new response format from Krill
Change-Id: Ic0c41029940e80bb0166fb6ee54064ddef704d34
diff --git a/dev/demo/alldemo.js b/dev/demo/alldemo.js
index 771b206..3b75c80 100644
--- a/dev/demo/alldemo.js
+++ b/dev/demo/alldemo.js
@@ -657,14 +657,25 @@
{
"@type":"koral:field",
"key":"foundries",
- "type":"type:string",
- "value":"corenlp corenlp\/constituency corenlp\/morpho corenlp\/sentences dereko dereko\/structure dereko\/structure\/base-sentences-paragraphs-pagebreaks opennlp opennlp\/morpho opennlp\/sentences"
+ "type":"type:keywords",
+ "value":[
+ "corenlp",
+ "corenlp\/constituency",
+ "corenlp\/morpho",
+ "corenlp\/sentences",
+ "dereko",
+ "dereko\/structure",
+ "dereko\/structure\/base-sentences-paragraphs-pagebreaks",
+ "opennlp",
+ "opennlp\/morpho",
+ "opennlp\/sentences"
+ ]
},
{
"@type":"koral:field",
"key":"creationDate",
- "type":"type:number",
- "value":20150417
+ "type":"type:date",
+ "value":"2015-04-17"
},
{
"@type":"koral:field",
@@ -675,8 +686,8 @@
{
"@type":"koral:field",
"key":"pubDate",
- "type":"type:number",
- "value":20150501
+ "type":"type:date",
+ "value":"2015-05-01"
},
{
"@type":"koral:field",
@@ -687,8 +698,8 @@
{
"@type":"koral:field",
"key":"textClass",
- "type":"type:string",
- "value":"kultur film"
+ "type":"type:keywords",
+ "value":["kultur","film"]
},
{
"@type":"koral:field",