groupid koral query
diff --git a/pom.xml b/pom.xml
index 32c1e9b..795fc83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -140,7 +140,7 @@
<version>2.2</version>
</dependency>
<dependency>
- <groupId>KorAP-modules</groupId>
+ <groupId>de.ids_mannheim.korap</groupId>
<artifactId>Koral</artifactId>
<version>0.2</version>
<exclusions>
diff --git a/src/main/java/de/ids_mannheim/korap/config/QueryBuilderUtil.java b/src/main/java/de/ids_mannheim/korap/config/QueryBuilderUtil.java
index f308399..d0cfe19 100644
--- a/src/main/java/de/ids_mannheim/korap/config/QueryBuilderUtil.java
+++ b/src/main/java/de/ids_mannheim/korap/config/QueryBuilderUtil.java
@@ -1,8 +1,22 @@
package de.ids_mannheim.korap.config;
+import de.ids_mannheim.korap.query.serialize.MetaQueryBuilder;
+
/**
* @author hanl
* @date 25/06/2015
*/
public class QueryBuilderUtil {
+
+ public static MetaQueryBuilder defaultMetaBuilder(Integer pageIndex,
+ Integer pageInteger, Integer pageLength, String ctx,
+ Boolean cutoff) {
+ MetaQueryBuilder meta = new MetaQueryBuilder();
+ meta.addEntry("startIndex", pageIndex)
+ .addEntry("startPage", pageInteger)
+ .addEntry("count", pageLength).setSpanContext(ctx)
+ .addEntry("cutOff", cutoff);
+ return meta;
+
+ }
}