Fixed pubDate bug
diff --git a/src/test/resources/queries/metaquery4.json b/src/test/resources/queries/metaquery4.json
index 6b82550..33aea67 100644
--- a/src/test/resources/queries/metaquery4.json
+++ b/src/test/resources/queries/metaquery4.json
@@ -1,73 +1,56 @@
{
- "@context": {
- "korap": "http://korap.ids-mannheim.de/ns/query",
- "@language": "de",
- "operands": {
- "@id": "korap:operands",
- "@container": "@list"
- },
- "relation": {
- "@id": "korap:relation",
- "@type": "korap:relation#types"
- },
- "class": {
- "@id": "korap:class",
- "@type": "xsd:integer"
- },
- "query": "korap:query",
- "filter": "korap:filter",
- "meta": "korap:meta"
+ "@context": {
+ "korap": "http://korap.ids-mannheim.de/ns/query",
+ "@language": "de",
+ "operands": {
+ "@id": "korap:operands",
+ "@container": "@list"
},
- "startPage" : 2,
- "count" : 5,
- "context" : {
- "left" : [ "token", 3 ],
- "right" : [ "char", 6 ]
+ "relation": {
+ "@id": "korap:relation",
+ "@type": "korap:relation#types"
},
- "query":{
- "@type":"korap:group",
- "relation":"or",
- "operands":[
- {
- "@type":"korap:token",
- "@value":{
- "@type":"korap:term",
- "@value":"base:Vokal",
- "relation":"="
- }
- },
- {
- "@type":"korap:sequence",
- "operands":[
- {
- "@type":"korap:token",
- "@value":{
- "@type":"korap:term",
- "@value":"base:der",
- "relation":"="
- }
- },
- {
- "@type":"korap:token",
- "@value":{
- "@type":"korap:term",
- "@value":"mate/p:ADJA",
- "relation":"="
- }
- }
- ]
- }
- ]
- },
- "meta": [
- {
- "@type": "korap:meta-filter",
- "@id": "korap-filter#id-1223232",
- "@value": {
- "@type": "korap:term",
- "@field": "korap:field#textClass",
- "@value": "baum"
- }
- }
- ]
-}
\ No newline at end of file
+ "class": {
+ "@id": "korap:class",
+ "@type": "xsd:integer"
+ },
+ "query": "korap:query",
+ "filter": "korap:filter",
+ "meta": "korap:meta"
+ },
+ "startPage" : 1,
+ "count" : 5,
+ "context" : {
+ "left" : [ "token", 3 ],
+ "right" : [ "char", 6 ]
+ },
+ "query":{
+ "@type":"korap:token",
+ "@value":{
+ "@type":"korap:term",
+ "@value":"base:lediglich",
+ "relation":"="
+ }
+ },
+ "meta": [
+ {
+ "@type": "korap:meta-filter",
+ "@id": "korap-filter#id-1223232",
+ "@value": {
+ "@type": "korap:group",
+ "relation": "between",
+ "@field": "korap:field#pubDate",
+ "operands": [
+ {
+ "@type": "korap:date",
+ "@value": "2000-01-01"
+ },
+ {
+ "@type": "korap:date",
+ "@value": "2013-12-31"
+ }
+ ]
+ }
+ }
+ ]
+}