Nik Everett
20e7fa97db
Remove Xlint:-override,-fallthrough,-static
...
Adds `@SuppressWarnings("fallthrough")` in two places where the fallthrough
is used to implement well known hashing algorithms.
2016-01-06 22:27:14 -05:00
Nik Everett
1325c1442b
Merge pull request #15812 from nik9000/varargs
...
Standardize some methods on varargs
2016-01-06 21:42:13 -05:00
Nik Everett
74c132afc6
Standardize some methods on varargs
...
Right now we define the same sort of methods as taking String arrays and
string varargs. We should standardize on one and varargs is easier to
call so lets use varargs!
2016-01-06 21:01:58 -05:00
Nik Everett
32605ecb4f
Cleanups for Def
...
Manually I:
1. Added some missing raw types warnings suppressions.
2. Removed some unused unchecked cast warning suppressions.
3. Added <?> to Class.
I let my IDE:
1. Remove unneeded casts.
2. Reorder imports (just ignore these, everyone does).
2016-01-06 20:28:49 -05:00
Jason Tedor
a583edb2df
Merge pull request #15801 from jasontedor/cyclic-barriers-for-boaz
...
Use CyclicBarriers for sychronizing driver and test threads
2016-01-06 20:09:28 -05:00
Jason Tedor
c147fe5691
Do not lose CacheTest failure stack traces
2016-01-06 20:00:11 -05:00
Nik Everett
91464c7687
Remove some raw from ActionRequest subclasses
...
Renames "T" used in many subclasses of ActionRequest to "Self" and tightens
the type bounds.
2016-01-06 19:01:58 -05:00
Nik Everett
d54f1a8f20
Merge pull request #15796 from nik9000/boundary_chars
...
Add test for boundary chars
2016-01-06 18:26:38 -05:00
Nik Everett
07168bd80f
Merge pull request #15805 from nik9000/version_todo
...
Version.LATEST instead of Lucene.VERSION
2016-01-06 18:25:47 -05:00
Nik Everett
9935ae921e
Version.LATEST instead of Lucene.VERSION
...
There was a TODO for it.
2016-01-06 17:36:10 -05:00
Lee Hinman
cb8d378c2a
Merge pull request #15755 from droberts195/grep_minus_e_portability_fix
...
Use egrep instead of grep -E for Solaris
2016-01-06 14:18:52 -07:00
Martijn van Groningen
1d3dfa81aa
Merge remote-tracking branch 'es/master' into feature/ingest
2016-01-06 22:17:04 +01:00
Jason Tedor
4c0f5bda47
Use CyclicBarriers for sychronizing driver and test threads
...
This commit modifies some tests to use CyclicBarriers to correctly and
simply sychronize driver and test threads.
2016-01-06 15:07:05 -05:00
Jason Tedor
2cc979ee77
Merge pull request #15700 from jasontedor/serial-cluster-state-task-executions
...
Add test that cluster state update tasks are executed in order
Closes #15483
2016-01-06 14:47:59 -05:00
Jason Tedor
22abf14812
Visible failures in cluster state update task execution ordering test
2016-01-06 14:43:24 -05:00
Jason Tedor
557b11cc2b
Sychronize threads in cluster state update task execution ordering test
...
This commit uses a CyclicBarrier to correctly and simply sychronize the
driver and test threads in
ClusterServiceIT#testClusterStateUpdateTasksAreExecutedInOrder.
2016-01-06 14:41:43 -05:00
Jason Tedor
d1b4cf6778
Further simplify cluster state update task execution ordering test
2016-01-06 14:41:42 -05:00
Jason Tedor
18b42ce798
Simplify cluster state task execution ordering test
2016-01-06 14:41:42 -05:00
Jason Tedor
270b08b302
Add test that cluster state update tasks are executed in order
...
This commit adds a test that ensures that cluster state update tasks
are executed in order from the perspective of a single thread.
2016-01-06 14:41:38 -05:00
debadair
71d146b940
Docs: Removed NSFW link.
2016-01-06 11:01:01 -08:00
Jason Tedor
ef16113697
Merge pull request #15735 from jasontedor/master-node-change-predicate
...
Refactor master node change predicate for reuse
2016-01-06 13:58:13 -05:00
Nik Everett
add60a7560
[highlighting] Another test for boundary chars
2016-01-06 13:42:15 -05:00
Nicholas Knize
7df9ba6053
[TEST] Speed up GeoShapeQueryTests
...
This commit speeds up GeoShapeQueryTests by reducing the size of the random generated shapes and defaulting geo_shape indexes to use quadtree (more efficient for shapes) over geohash.
2016-01-06 12:41:04 -06:00
javanna
c711570fd3
remove needless changes (missing static imports)
2016-01-06 19:22:28 +01:00
Martijn van Groningen
04b79c112f
test: unmuted test
...
test failed, because now the percolator returns upto 10 matches whereas before this was unbounded. The test has been updated to take this in account by checking the total count instead of the number of matches
2016-01-06 19:10:55 +01:00
javanna
9079a7e891
wip: move all the ingest infra to core
2016-01-06 19:10:44 +01:00
Jason Tedor
3b192cfc74
Merge pull request #15791 from jasontedor/relocating-shard-failure
...
Only fail the relocation target when a replication request on it fails
Closes #15790
2016-01-06 12:56:49 -05:00
Jason Tedor
bb4d857e44
Redundant assertion in TransportReplicationActionTests#runReplicateTest
2016-01-06 12:53:45 -05:00
Jason Tedor
c291c17142
Cleanup TransportReplicationActionTests#runReplicateTest
...
This commit cleans up some of the assertions in
TransportReplicationActionTests#runReplicateTest:
- use a Map to track actual vs. expected requests
- assert that no request was sent to the local node
- use RoutingTable#shardRoutingTable convenience method
- explicitly use false in boolean conditions
- clarify requests are expected on replica shards when assigned and
execution on replicas is true
- test ShardRouting equality when checking the failed shard request
2016-01-06 12:53:45 -05:00
Jason Tedor
6413adb5bc
Assert that replication requests are sent to the correct shard copies
...
This commit adds tighter assertions in
TransportReplicationActionTests#runReplicateTest that replication
requests are sent to the correct shard copies.
2016-01-06 12:53:45 -05:00
Jason Tedor
75106daf9c
Only fail the relocation target when a replication request on it fails
...
This commit addresses an issue when handling a failed replication
request against a relocating target shard. Namely, if a replication
request fails against the target of a relocation we currently fail both
the source and the target. This leads to an unnecessary
recovery. Instead, only the target of the relocation should be failed.
2016-01-06 12:53:41 -05:00
Adrien Grand
f8e802c028
Merge pull request #15794 from damienalexandre/french-doc
...
[Doc] Fix french analyzer elision token filter doc
2016-01-06 18:39:26 +01:00
Nik Everett
f5898fb07f
[highlighting] Test for boundary chars
2016-01-06 12:32:09 -05:00
Martijn van Groningen
81cffd1be3
test: mute test
2016-01-06 18:30:04 +01:00
Damien Alexandre
23a64f8214
Fix french analyzer elision token filter doc
...
Fix #15774
2016-01-06 18:26:03 +01:00
Martijn van Groningen
247ce06fc3
percolator: if size is 0 then use TotalHitCountCollector
...
Fixes PercolateIT#testPercolateSizingWithQueryAndFilter test
2016-01-06 18:00:00 +01:00
Nik Everett
664d67d41d
Add test for alias filter leaking into highlighter
2016-01-06 11:32:03 -05:00
javanna
da3f460bd1
remove ProcessorFactoryProvider
2016-01-06 17:31:40 +01:00
javanna
e923545269
add test for ProcessorsRegistry
2016-01-06 17:31:40 +01:00
javanna
931d321d58
prevent registering processor factories with same name as an existing one
2016-01-06 17:31:40 +01:00
javanna
f651f5a531
remove MapBinder guice binding for processors, use ProcessorsRegistry instead
2016-01-06 17:31:40 +01:00
javanna
94469d75f9
revert rename InternalTemplateService -> MustacheTemplateService
2016-01-06 17:31:39 +01:00
javanna
8251a50667
make ProcessorFactoryProvider extend BiFunction
2016-01-06 17:31:39 +01:00
javanna
635b9b5a46
clarified TemplateService comments
...
We will keep this abstractions as it's convenient, otherwise IngestDocument would depend on ScriptService directly, and would explicitly rely on mustache which is not even part of core. better to have the interface in core, and the impl as part of the ingest plugin, which relies on mustache, shipped with core by default.
2016-01-06 17:31:39 +01:00
javanna
fa4dbdaea1
create ProcessorsModule during Node creation rather than as part of IngestPlugin initialization
...
If we createProcessorsModule as part of the plugin, other plugins will not be able to register their own processors.
2016-01-06 17:31:39 +01:00
javanna
456351de2e
move common test classes to test module
2016-01-06 17:31:39 +01:00
javanna
2478aafa46
move ingest api to core
2016-01-06 17:31:39 +01:00
Martijn van Groningen
702f712204
replaced thirdPartyAudit.missingClasses with specific excludes
2016-01-06 17:28:46 +01:00
Martijn van Groningen
1eb5ae1dce
fix compile errors due to changes in master
2016-01-06 17:28:35 +01:00
Martijn van Groningen
e275af8a58
Merge remote-tracking branch 'es/master' into feature/ingest
2016-01-06 17:28:08 +01:00