summaryrefslogtreecommitdiffstats
path: root/document/src/main/java/com/yahoo/document/annotation/SpanTrees.java
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/main/java/com/yahoo/document/annotation/SpanTrees.java')
-rw-r--r--document/src/main/java/com/yahoo/document/annotation/SpanTrees.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/document/src/main/java/com/yahoo/document/annotation/SpanTrees.java b/document/src/main/java/com/yahoo/document/annotation/SpanTrees.java
new file mode 100644
index 00000000000..449e803a248
--- /dev/null
+++ b/document/src/main/java/com/yahoo/document/annotation/SpanTrees.java
@@ -0,0 +1,18 @@
+// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.document.annotation;
+
+/**
+ * This is a container for all {@link SpanTree}s constants used by built-in Vespa features.
+ *
+ * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
+ */
+@SuppressWarnings({ "UnusedDeclaration" })
+// TODO: Remove. This is the wrong place.
+public final class SpanTrees {
+
+ private SpanTrees() {
+ // unreachable
+ }
+
+ public static final String LINGUISTICS = "linguistics";
+}