Skip to content

Commit fe4409c

Browse files
Address Ryan's comments
1 parent 77b187f commit fe4409c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/mapper-unsigned-long/src/main/java/org/elasticsearch/xpack/unsignedlong/UnsignedLongLeafFieldData.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ public int docValueCount() {
7373

7474
@Override
7575
public ScriptDocValues<?> getScriptValues() {
76-
return new UnsignedLongScriptDocValues(getLongValues());
76+
// TODO: add support for scripts
77+
throw new UnsupportedOperationException("Using unsigned_long in scripts is currently not supported!");
7778
}
7879

7980
@Override

0 commit comments

Comments
 (0)