Fixed pubDate bug
diff --git a/src/test/resources/queries/metaquery2.json b/src/test/resources/queries/metaquery2.json
index c80b044..c1a6eda 100644
--- a/src/test/resources/queries/metaquery2.json
+++ b/src/test/resources/queries/metaquery2.json
@@ -1,89 +1,89 @@
{
- "@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", 6 ],
- "right" : [ "token", 6 ]
+ "relation": {
+ "@id": "korap:relation",
+ "@type": "korap:relation#types"
},
- "query":{
- "@type":"korap:group",
- "relation":"or",
- "operands":[
- {
+ "class": {
+ "@id": "korap:class",
+ "@type": "xsd:integer"
+ },
+ "query": "korap:query",
+ "filter": "korap:filter",
+ "meta": "korap:meta"
+ },
+ "startPage" : 2,
+ "count" : 5,
+ "context" : {
+ "left" : [ "token", 6 ],
+ "right" : [ "token", 6 ]
+ },
+ "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:Vokal",
- "relation":"="
+ "@type":"korap:term",
+ "@value":"base:der",
+ "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:ADJD",
- "relation":"="
- }
- }
- ]
- }
- ]
- },
- "meta": [
- {
- "@type": "korap:meta-filter",
- "@value": {
- "@type": "korap:group",
- "relation": "and",
- "operands": [
- {
- "@type": "korap:term",
- "@field": "korap:field#author",
- "@value": "Hesse"
- },
- {
- "@type": "korap:group",
- "@field": "korap:field#pubDate",
- "relation": "until",
- "operands": [
- {
- "@type": "korap:date",
- "@value": "2013-12-05"
- }
- ]
- }
- ]
- }
+ },
+ {
+ "@type":"korap:token",
+ "@value":{
+ "@type":"korap:term",
+ "@value":"mate/p:ADJD",
+ "relation":"="
}
+ }
]
-}
\ No newline at end of file
+ }
+ ]
+ },
+ "meta": [
+ {
+ "@type": "korap:meta-filter",
+ "@value": {
+ "@type": "korap:group",
+ "relation": "and",
+ "operands": [
+ {
+ "@type": "korap:term",
+ "@field": "korap:field#author",
+ "@value": "Hesse"
+ },
+ {
+ "@type": "korap:group",
+ "@field": "korap:field#pubDate",
+ "relation": "until",
+ "operands": [
+ {
+ "@type": "korap:date",
+ "@value": "2013-12-05"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+}