Jason Tedor
e379d20ae6
Merge pull request #12211 from jasontedor/features/12149
...
Add global search timeout setting
2015-07-17 09:23:16 -04:00
Martijn van Groningen
ba16dec342
test: added 1.6.1 and 1.7.0 bwcompat indices
2015-07-17 14:29:19 +02:00
Martijn van Groningen
1fc8b429f3
added 1.7.1 and 1.6.2 versions
2015-07-17 13:00:00 +02:00
Adrien Grand
c336778c53
Merge pull request #12306 from rodaine/patch-1
...
Correct default date format
2015-07-17 12:43:23 +02:00
Tanguy Leroux
25473d1d9b
Update Netty to version 3.10.3.Final
...
There a version mismatch between master (previously 3.10.0.Final) and 1.7 branch (3.10.3.Final)
2015-07-17 11:35:33 +02:00
Boaz Leskes
1b37b48bb0
Tests: removed comment from SearchWhileRelocatingTests
2015-07-17 11:32:36 +02:00
Areek Zillur
b7107663d1
[TEST] remove redundant import
2015-07-17 00:01:53 -04:00
Areek Zillur
98fd8d94fe
[TEST] take into account when master node is stopped
2015-07-17 00:00:47 -04:00
Chris Roche
1af5530003
Correct default date format
...
`strictDateOptionalDate` => `strictDateOptionalTime`
2015-07-16 19:50:39 -07:00
Robert Muir
b1e3914461
move tophints configuration to the correct place
2015-07-16 22:49:30 -04:00
Robert Muir
0ba6e4171a
tophints is optional here, it might not exist
2015-07-16 22:46:41 -04:00
Ryan Ernst
b420c96fda
quiet flaky test
2015-07-16 19:27:23 -07:00
Robert Muir
1d302383f2
Don't try to verify if we are skipping integ tests (e.g. don't have any, explicitly disabled, etc)
2015-07-16 22:12:00 -04:00
Robert Muir
dc8e3ed483
Merge pull request #12303 from rmuir/verify-reproduce-with
...
fix REPRODUCE WITH for integration tests
2015-07-16 22:00:20 -04:00
Robert Muir
b01c17959e
fix REPRODUCE WITH for integration tests
2015-07-16 21:45:20 -04:00
Robert Muir
0ed28738ac
Merge pull request #12302 from rmuir/junit4_integ
...
Use junit4 for running integration tests, too
2015-07-16 21:23:10 -04:00
Robert Muir
9e7882e604
protect logic under skipTests for stupid pom packaging
2015-07-16 20:49:16 -04:00
Robert Muir
96a999d2c7
wow maven you suck really bad...
2015-07-16 19:49:54 -04:00
Robert Muir
6b7561ac9a
Use junit4 for running integration tests, too
...
failsafe uses surefire, which sucks. It also mean integ tests act alien right now.
I would rather have the consistency, e.g. things formatted the same way, running integ tests under security manager, etc.
2015-07-16 19:43:33 -04:00
Areek Zillur
99363bd35d
[TEST] fix test bug
2015-07-16 18:57:04 -04:00
Areek Zillur
7a21d846bb
A new `_shard_stores` API provides store information for shard copies of indices.
...
Store information reports on which nodes shard copies exist, the shard
copy version, indicating how recent they are, and any exceptions
encountered while opening the shard index or from earlier engine failure.
closes #10952
2015-07-16 18:28:07 -04:00
Lee Hinman
d902012835
Consistently name Groovy scripts with the same content
...
When adding a script to the Groovy classloader, the script name is used
as the class identifier in the classloader. This means that in order not
to break JVM Classloader convention, that script must always be
available by that name. As a result, modifying a script with the same
content over and over causes it to be loaded with a different name (due
to the incrementing integer).
This is particularly bad when something like chef or puppet replaces the
on-disk script file with the same content over and over every time a
machine is converged.
This change makes the script name the SHA1 hash of the script itself,
meaning that replacing a script with the same text will use the same
script name.
Resolves #12212
2015-07-16 15:45:33 -06:00
Igor Motov
c315d54c2a
Fix serialization of IndexFormatTooNewException and IndexFormatTooOldException
...
This is essentially an ugly hack to get us by until a proper solution is possible with Lucene 5.3
Closes #12277
2015-07-16 12:41:25 -04:00
Alex Ksikes
165ee4ac7f
PrefixQueryParser takes a String as value like its Builder
...
Relates #12032
Closes #12204
2015-07-16 18:25:21 +02:00
Zachary Tong
7367af57cf
String.join() is not available pre-Java8
2015-07-16 12:24:36 -04:00
Michael McCandless
42291e3cfd
QueryString ignores maxDeterminizedStates when creating a WildcardQuery
...
This patch backports https://issues.apache.org/jira/browse/LUCENE-6677
Merges 3ede4c469922308d43fba9ebc63e397ffd6997fe from 1.x
2015-07-16 12:21:39 -04:00
Alex Ksikes
d0256dac69
RegexpQueryParser takes a String as value like its Builder
...
Relates #11896
Closes #12200
2015-07-16 17:59:08 +02:00
Zachary Tong
380648ab86
Merge pull request #12280 from polyfractal/bugfix/movavg_validation
...
Aggregations: Add better validation of moving_avg model settings
2015-07-16 11:44:32 -04:00
Zachary Tong
702f884ba0
Aggregations: Add better validation of moving_avg model settings
2015-07-16 11:41:30 -04:00
Lee Hinman
a8391fcae9
Add _replica and _replica_first as search preference.
...
Just like specifying `?preference=_primary`, this adds the ability to
specify `?preference=_replica` or `?preference=_replica_first` on
requests that support it.
Resolves #12222
2015-07-16 09:25:23 -06:00
Boaz Leskes
439c67ab15
Transport: Tracer should exclude "cluster:monitor/nodes/liveness" by default
...
This action is a liveness test added in #8763 . It should be excluded, just like the fault detection logic or things become overly chatty.
Closes #12291
2015-07-16 17:23:27 +02:00
Clinton Gormley
d4b94a9be2
Revert "REST: Fixed msearch and mpercolate structured exception tests"
...
This reverts commit f20b730eca
.
2015-07-16 17:06:45 +02:00
Clinton Gormley
f20b730eca
REST: Fixed msearch and mpercolate structured exception tests
2015-07-16 15:27:07 +02:00
Martijn van Groningen
211b4d9083
Merge pull request #12288 from martijnvg/upgrade_groovy
...
upgrade groovy from 2.4.0 to 2.4.4
2015-07-16 14:40:06 +02:00
Adrien Grand
2399741f87
Merge pull request #12284 from jpountz/fix/failure_assertions
...
Do not assert that all shards were successful in tests.
2015-07-16 14:23:49 +02:00
Martijn van Groningen
9687670e8d
upgraded groovy from 2.4.0 to 2.4.4
2015-07-16 13:56:32 +02:00
Adrien Grand
e86ff6785a
Do not assert that all shards were successful in tests.
...
Most of our tests call assertSearchResponse which checks whether all shards
were successful. However this is usually not necessary given that all shards
that received documents should be available given the way our indexing works.
The only shards that might not be available are those that did not index
any documents. So removing this assertion would allow us to remove most
ensureGreen/ensureYellow calls while still being able to assert on the content
of the search response since all data have been taken into account.
For now I only removed the ensureYellow/Green calls from SearchQueryTests in
order to not de-stabilize the build, but eventually we should remove most of
them.
2015-07-16 11:18:55 +02:00
Boaz Leskes
f9a7e7cd84
add awaitFix the entire MinimumMasterNodesTests class. multiple tests are failing...
2015-07-16 10:47:18 +02:00
Jason Tedor
d1c8703477
Add global search timeout setting
...
This commit adds a dynamically updatable cluster-level search timeout setting.
Closes #12149
2015-07-15 20:18:16 -05:00
Igor Motov
bfbee383bd
Add checksum to snapshot metadata files
...
This commit adds checksum to snapshot files that store global and index based metadata as well as shard information.
Closes #11589
2015-07-15 18:52:56 -04:00
Areek Zillur
c62d0b9ee3
Merge pull request #12249 from areek/fix/12228
...
Clarify docs for transpositions setting in completion suggester
closes #12228
2015-07-15 15:45:52 -04:00
Areek Zillur
8bbd57bcb0
Clarify docs for transpositions setting in completion suggester
...
closes #12228
2015-07-15 15:43:51 -04:00
jaymode
a7d4a97325
integration tests should use the baseVersion when copying artifacts
2015-07-15 15:25:43 -04:00
Jay Modi
5091a10f3a
Merge pull request #12271 from jaymode/test_zen_port_range
...
restrict the test unicast zen discovery to the port range of the JVM
2015-07-15 12:38:25 -04:00
Jason Tedor
0820cb66c3
Fix issues due to missing refresh after indexing test documents in SearchStatsTests.testOpenContexts
2015-07-15 11:27:48 -05:00
Simon Willnauer
901421bc14
Merge pull request #12270 from s1monw/publish_s3
...
Deploy artifacts to S3 as well as sonatype when running a release
2015-07-15 18:11:38 +02:00
Clinton Gormley
b3c214c310
Merge pull request #12272 from clintongormley/index_priority_docs
...
Docs: Documented index prioritization
2015-07-15 18:10:09 +02:00
Clinton Gormley
dbc0b45896
Docs: Documented index prioritization
2015-07-15 18:05:42 +02:00
jaymode
883d33be95
restrict the test unicast zen discovery to the port range of the JVM
...
Today, the unicast zen test configuration will try to find a open port starting at the internal test cluster's
base port and continuing for 1000 ports. The internal test cluster class assigns a port range of 100 ports
to each JVM. This means that the unicast zen test configuration will try ports in the range for another JVM
and can lead to port conflicts. This change uses the same value for both so that the unicast configuration
does not go into another JVM's port range.
2015-07-15 11:42:41 -04:00
Simon Willnauer
6faa19c3de
Deploy artifacts to S3 as well as sonatype when running a release
...
This change allows when running a release build with:
```
mvn -Prelease deploy
```
To deploy all artifacts to S3 as well as to sonatype at the same time.
Both sources will be consistent in terms of content and no further action
is required to publish our artifacts including .rpm, .deb, .zip, .tar.gz, .jar
etc. on to out S3 download service. Albeit this changes the structure of our
downloads to pretty much matching the maven repository layout, this makes
releaseing core as well as the plugins extremely simple. This will allow to
remove most of our python script used for release and it will automatically
allow to release and integrate new modules without further interaction.
This also allows us to bascially streamline our release process on CI such that
CI builds can simply run maven deploy which is all we do during a release.
With this commit only the git related modifications like tagging, version bumping
on our pom files and publishing RPM and .deb in their dedicated repository is left
for the python script.
With this change our artifact are available as follows:
```
http://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/elasticsearch/2.0.0-beta1/elasticsearch-2.0.0-beta1.deb
http://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/elasticsearch/2.0.0-beta1/elasticsearch-2.0.0-beta1.zip
http://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/elasticsearch/2.0.0-beta1/elasticsearch-2.0.0-beta1.rpm
```
Plugins are deployed to URLs like this:
```
http://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/plugin/elasticsearch-analysis-icu/2.0.0-beta1/elasticsearch-analysis-icu-2.0.0-beta1.zip
```
All artifacts like .jar as well as their checksums and gpg signatures are also available next to it.
2015-07-15 17:14:34 +02:00