release [1.2.2]
Move to [1.2.3-SNAPSHOT]
Fix typo in Hunspell logging
Throw exception if function in function score query is null

closes #6292 #6784
[TEST] Allow to disable plugin loading from classpath
[TEST] Fix test to use keyword analyzer since it relies on exact terms without processing
[UPDATE] Handle document missing exception on retry correctly.

Throwables thrown on update retries are now caught and handled via
the provided callback. This commit also contains an integration test
demonstrating the bug and validating the fix.

Closes #6355
Closes #6724
[TEST] Verify if clear cache request went to all shards.
Threadpool Info: Allow to serialize negative thread pool sizes

As a SizeValue is used for serializing the thread pool size, a negative number
resulted in throwing an exception when deserializing (using -ea an assertionerror
was thrown).

This fixes a check for changing the serialization logic, so that negative numbers are read correctly, by adding an internal UNBOUNDED value.

Closes #6325
Closes #5357
Serialization: Fix bwc issue by falling back to old threadpool serialization

This fixes an issue introduced by the serialization changes in #6486
which are not needed at all. Node that the serialization itself is not broken
but the TransportClient uses its own version on initial connect and getting
the NodeInfos.
bin/plugin removes itself

If you call `bin/plugin --remove es-plugin` the plugin got removed but the file `bin/plugin` itself was also deleted.

We now don't allow the following plugin names:

* elasticsearch
* plugin
* elasticsearch.bat
* plugin.bat
* elasticsearch.in.sh
* service.bat

Closes #6745

(cherry picked from commit 248ea31)
Plugin Manager: Properly quote $JAVA in bin/plugin

The all new Oracle Java 7 on OSX has a space in its path
resulting in bin/plugin failing to work

Closes #5765
[TEST] Temporarily ignore transport update tests.
Core: Drop UnsafeUtils.

This class potentially does unaligned memory access and does not bring much
now that we switched to global ords for terms aggregations.

Close #6962
Build: Remove UnsafeUtils from forbidden-apis exclusion list.
[TEST] Remove TransportUpdateActionTest

This test has been made obselete by the UpdateTests.
release [1.2.3]
move to [1.2.4-SNAPSHOT]
[TEST] Disable automatic refresh to prevent unintended field data warming of the the _parent field.
Explicitly clean up fielddata cache when clearing entire cache