javanna
52dcc9899e
fix checkstyle line lenght issue
2016-03-30 15:45:41 +02:00
javanna
70573a35e1
remove unused DiscoveryNodes#valid method
2016-03-30 15:28:39 +02:00
javanna
30b57be8f4
Rename DiscoveryNodes#localNodeMaster to isLocalNodeElectedMaster
2016-03-30 15:28:39 +02:00
javanna
2075c7f0a7
Rename DiscoveryNodes#smallestNonClientNodeVersion to getSmallestNonClientNodeVersion
2016-03-30 15:28:39 +02:00
javanna
030420768c
Rename DiscoveryNodes#smallestNodeVersion to getSmallestNodeVersion
2016-03-30 15:28:39 +02:00
javanna
62ac7d219f
Remove DiscoveryNodes#masterNode in favour of existing DiscoveryNodes#getMasterNode
2016-03-30 15:28:32 +02:00
javanna
7ebc094353
Remove DiscoveryNodes#localNode in favour of existing DiscoveryNodes#getLocalNode
2016-03-30 15:28:23 +02:00
javanna
f26d05eac8
Remove DiscoveryNodes#localNodeId in favour of existing DiscoveryNodes#getLocalNodeId
2016-03-30 15:28:15 +02:00
javanna
f8b5d1f5b0
Remove DiscoveryNodes#masterNodeId in favour of existing DiscoveryNodes#getMasterNodeId
2016-03-30 15:28:06 +02:00
javanna
97f7aef776
Rename DiscoveryNodes#masterAndDataNodes to getMasterAndDataNodes
2016-03-30 15:28:04 +02:00
javanna
4032859e90
Remove DiscoveryNodes#masterNodes in favour of existing DiscoveryNodes#getMasterNodes
2016-03-30 15:27:56 +02:00
javanna
463fbe45c6
Remove DiscoveryNodes#dataNodes in favour of existing DiscoveryNodes#getDataNodes
2016-03-30 15:27:46 +02:00
javanna
c175e07c8a
Remove DiscoveryNodes#nodes in favour of existing DiscoveryNodes#getNodes
2016-03-30 15:27:38 +02:00
javanna
fc2e6d7ce0
Remove DiscoveryNodes#size in favour of existing DiscoveryNodes#getSize
2016-03-30 15:27:28 +02:00
javanna
131f5b0596
Remove unused emptyDelta method from DiscoveryNodes and related EMPTY_LIST from DiscoveryNode
2016-03-30 15:27:26 +02:00
javanna
2dbba45f2c
Rename static DiscoveryNode#localNode(Settings) to DiscoveryNode#isLocalNode(Settings)
2016-03-30 15:27:26 +02:00
javanna
7751b45f0f
Rename static DiscoveryNode#ingestNode(Settings) to isIngestNode
2016-03-30 15:27:05 +02:00
javanna
49e952e272
Rename static DiscoveryNode#dataNode(Settings) to isDataNode
2016-03-30 15:26:41 +02:00
javanna
2230fec9ea
Rename static DiscoveryNode#masterNode(Settings) to isMasterNode
2016-03-30 15:26:10 +02:00
javanna
3942c9e4df
Remove DiscoveryNode#version in favour of existing DiscoveryNode#getVersion
2016-03-30 14:56:15 +02:00
javanna
00f5ca57fa
Remove DiscoveryNode#address in favour of existing DiscoveryNode#getAddress
2016-03-30 14:54:42 +02:00
javanna
41039a6431
Remove DiscoveryNode#masterNode in favour of existing DiscoveryNode#isMasterNode
2016-03-30 14:52:39 +02:00
javanna
dfeb9379ab
Remove DiscoveryNode#dataNode in favour of existing DiscoveryNode#isDataNode
2016-03-30 14:51:36 +02:00
javanna
a8bbdff3bc
Remove DiscoveryNode#name in favour of existing DiscoveryNode#getName
2016-03-30 14:47:36 +02:00
javanna
9889f10e5e
Remove DiscoveryNode#id in favour of existing DiscoveryNode#getId
2016-03-30 14:42:15 +02:00
Britta Weber
eed885eeab
[TEST] use random ascii instead of random unicode
...
Otherwise fields might not have values after analysis and the docCount
and hence the score will be unpredictable.
2016-03-30 11:45:47 +02:00
Isabel Drost-Fromm
f27399dc0e
Merge pull request #17282 from MaineC/deprecation/sort-option-reverse-removal
...
Remove deprecated reverse option from sorting
2016-03-30 11:02:19 +02:00
Simon Willnauer
3e67b808a0
Add created flag to IndexingOperationListener#postIndex
...
This adds a `created` flag to `IndexingOperationListener#postIndex` to
easily differentiate between updates and creates on the listener level.
Closes #17333
Merges #17340
2016-03-30 10:52:59 +02:00
Simon Willnauer
76fd1b4777
Fix test bug
2016-03-30 10:52:38 +02:00
Simon Willnauer
1110e5bdb6
Merge branch 'master' into pr-17340
2016-03-30 10:49:16 +02:00
Alexander Reelsen
48951aeb86
PluginManager: Rename xpack plugin to x-pack
2016-03-30 09:50:01 +02:00
Boaz Leskes
977c93be3c
make GsubProcessorFactoryTests.testCreateInvalidPattern windows friendly.
2016-03-30 08:45:28 +02:00
Jason Tedor
aa583c4064
Fix spelling of linear interpolation scorer class
...
This commit fixes the spelling of LinearInterpoatingScorer to
LinearInterpolatingScorer. Note that there was a missing ell.
Closes #17384
2016-03-29 20:18:29 -04:00
Jason Tedor
c63415d091
Cleanup format in LinearInterpoatingScorer.java
...
This commit fixes a few style issues in LinearInterpoatingScorer.java.
2016-03-29 20:17:55 -04:00
Nik Everett
df08854c60
Remove PROTOTYPEs from suggesters
...
Also stops using guice for suggesters at all and lots of checkstyle.
2016-03-29 17:55:01 -04:00
Nik Everett
101a32573c
Don't try to use system jna for naming conventions
...
When we test we add `-Djna.nosys=true` to the system properties but
we don't add it to system properties when running the naming conventions
test. This was causing the build to fail on a newly minted Ubuntu 15.10
machine, presumably because I made the mistake of installing maven using
the system package manager.
2016-03-29 17:52:23 -04:00
javanna
19eeb68bc4
Merge branch 'master' into enhancement/remove_node_client_setting
2016-03-29 21:53:22 +02:00
Igor Motov
4f5f3fe895
Increase the total number of allowed fields in UpdateMappingIntegrationIT#testDynamicUpdates
...
With restriction for the total number of fields introduced in #17357 this test can fail if a large number of records is randomly selected for indexing.
2016-03-29 15:25:21 -04:00
Spencer
f07b35b328
Merge pull request #17368 from spalger/docs/clarifyMinMasterCheck
...
[docs] clarify where discovery.zen.minimum_master_node is required
2016-03-29 11:44:50 -07:00
javanna
ae34c20a62
add node.client breaking changes to migrate guide
2016-03-29 20:33:59 +02:00
javanna
061f09d9a4
Merge branch 'master' into enhancement/remove_node_client_setting
2016-03-29 20:19:33 +02:00
Yanjun Huang
361adcf387
Add limit to total number of fields in mapping. #17357
...
This is to prevent mapping explosion when dynamic keys such as UUID are used as field names. index.mapping.total_fields.limit specifies the total number of fields an index can have. An exception will be thrown when the limit is reached. The default limit is 1000. Value 0 means no limit. This setting is runtime adjustable
Closes #11443
2016-03-29 19:39:46 +02:00
javanna
8ca4fde9f2
remove checkstyle suppression for TransportClientNodesServiceTests
2016-03-29 18:36:31 +02:00
javanna
0c70a9d5bd
fix bug introduced with refactoring of DiscoveryNode constructors
...
Transport client was replacing the address of the nodes connecting to with the ones received from the liveness api rather keeping the original listed nodes. Written a test for that.
2016-03-29 18:36:09 +02:00
Igor Motov
c356b30cff
Update task management docs to reflect the latest changes in the interface
...
Brings docs in line with new list task syntax and adds task cancellation API docs.
2016-03-29 12:26:37 -04:00
Boaz Leskes
48b4f086e0
Replication operation that try to perform the primary phase on a replica should be retried
...
In extreme cases a local primary shard can be replaced with a replica while a replication request is in flight and the primary action is applied to the shard (via `acquirePrimaryOperationLock()). #17044 changed the exception used in that method to something that isn't recognized as `TransportActions.isShardNotAvailableException`, causing the operation to fail immediately instead of retrying. This commit fixes this by check the primary flag before
acquiring the lock. This is safe to do as an IndexShard will never be demoted once a primary.
Closes #17358
2016-03-29 17:21:14 +02:00
Tal Levy
833fc8420f
split long line in ConvertProcessorTests
2016-03-29 08:19:15 -07:00
Tal Levy
16e888fac3
Merge pull request #17260 from talevy/fix-regex-exceptions
...
Handle regex parsing errors in Gsub and Grok Processors
2016-03-29 08:12:26 -07:00
Tal Levy
9ac3887139
Merge pull request #17263 from talevy/auto-convert
...
add type conversion support to ConvertProcessor
2016-03-29 07:57:57 -07:00
Tal Levy
2064fe3985
add type conversion support to ConvertProcessor
2016-03-29 07:56:53 -07:00