Added error code for missing query reference
Change-Id: Iad39ab75174d71135cc0238f8a8b42acca6f84ec
diff --git a/Changes b/Changes
index eb96cf5..1690ce5 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+0.59.3 2020-10-27
+ - [feature] Added "missing query reference" status code (diewald)
+
0.59.2 2020-07-24
- [feature] Add fingerprint method to index (diewald)
- [bugfix] Fix deserialization of spans with attributes (diewald)
diff --git a/misc/errorcodes.md b/misc/errorcodes.md
index 0d24e56..fc63eda 100644
--- a/misc/errorcodes.md
+++ b/misc/errorcodes.md
@@ -40,6 +40,7 @@
716: "Unknown relation"
717: "Missing relation node"
718: "Missing relation term"
+721: "Missing query reference"
730: "Invalid match identifier"
740: "Key definition is missing in term or span"
741: "Match relation unknown"
diff --git a/pom.xml b/pom.xml
index b6d879d..d0e8b40 100644
--- a/pom.xml
+++ b/pom.xml
@@ -35,7 +35,7 @@
<groupId>de.ids_mannheim.korap</groupId>
<artifactId>Krill</artifactId>
- <version>0.59.2</version>
+ <version>0.59.3</version>
<packaging>jar</packaging>
<name>Krill</name>
@@ -82,7 +82,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.11</version>
+ <version>4.13.1</version>
<scope>test</scope>
</dependency>
diff --git a/src/main/java/de/ids_mannheim/korap/util/StatusCodes.java b/src/main/java/de/ids_mannheim/korap/util/StatusCodes.java
index 4663363..33b330a 100644
--- a/src/main/java/de/ids_mannheim/korap/util/StatusCodes.java
+++ b/src/main/java/de/ids_mannheim/korap/util/StatusCodes.java
@@ -40,6 +40,7 @@
public static final int MISSING_RELATION_NODE = 717;
public static final int MISSING_RELATION_TERM = 718;
public static final int INVALID_QUERY = 719;
+ public static final int MISSING_QUERY_REFERENCE = 721;
public static final int INVALID_MATCH_ID = 730;
public static final int MISSING_KEY = 740;