Skip to content

Commit

Permalink
Scripts: Return new lists on calls to getValues.
Browse files Browse the repository at this point in the history
Scripts currently share the same list across invocations to getValues. This
caused a bug in script fields where all documents coming from the same segment
would get the same values (basically, for the next document for which script
values have been requested). Scripts now return a fresh new list on every
invocation to `getValues`.

Close #8576
  • Loading branch information
jpountz committed Nov 25, 2014
1 parent 71ae636 commit 2cf32bc
Show file tree
Hide file tree
Showing 15 changed files with 158 additions and 962 deletions.
163 changes: 0 additions & 163 deletions src/main/java/org/elasticsearch/common/util/SlicedDoubleList.java

This file was deleted.

164 changes: 0 additions & 164 deletions src/main/java/org/elasticsearch/common/util/SlicedLongList.java

This file was deleted.

0 comments on commit 2cf32bc

Please sign in to comment.