Clinton Gormley
356de95840
Added simplified range syntax to query string docs
2013-11-04 18:18:36 +01:00
Vojtech Hyza
47969efae9
Keep word filter through an error if `keep_word_path` was specified.
...
Closes #4073
2013-11-04 16:49:07 +01:00
Simon Willnauer
555ececaa9
Improve top level documentation for building releases
2013-11-04 16:10:58 +01:00
Simon Willnauer
0be5eca5d2
move to [0.90.7] SNAP
2013-11-04 14:55:55 +01:00
Simon Willnauer
1f3c7be851
Fix typo in mvn command for running with multiple JVMs
2013-11-04 14:30:31 +01:00
Simon Willnauer
35f33c4bbc
Added tool to build a complete Elasticsearch release.
...
This tool builds a release and runs several checks to make sure the
release is in a reasonable shape (smoke test). From a top level
perspective it runs the following steps:
* clean the build environment `mvn clean`
* check if a Java 6 JDK is available
* run the tests with network and local
* generates the checksums for the binary packages
* uploads the binary packages to Amazon S3
* runs a 'mvn deploy' to publish the maven artifacts
The script will create an intermediate branch from a given 'release
branch' updates all versions based on the version we are currently
releasing. Updates the 'pom.xml' file as well as the 'Version.java'
class. Once this is done it commits the changes and rebase with the
branch we want to release from, merges the changes from the intermediate
branch and pushes to the given remote repository including the release
tag.
2013-11-04 14:08:59 +01:00
Luca Cavanna
5474cffe8f
Added support for highlighting multi term queries using the postings highlighter
...
Closes #4042
2013-11-04 12:55:22 +01:00
Igor Motov
123bc98d81
Fix possible NPE in ClusterState.toString()
...
ClusterState.toString() can throw NPE if at least on index template exists in the cluster state.
2013-11-04 06:36:45 -05:00
Karel Minarik
b93dac678f
[DOC] Added a link to the official Ruby client to the "Clients" page
2013-11-04 11:47:14 +01:00
Karel Minarik
7023ef2e3f
[DOCS] Added a basic information about the official Ruby client to documentation
2013-11-04 11:46:36 +01:00
Ben McCann
46edfc484a
[DOCS] Add some documentation about the performance of `_source` usage in scripts.
2013-11-04 11:05:55 +01:00
Igor Motov
c724f0de5d
Initial implementation of ResourceWatcherService
...
Closes #4062
2013-11-03 21:55:54 -05:00
Shay Banon
1b799e9a3e
use immutable open map to list the files in store
2013-11-03 21:31:42 +01:00
Boaz Leskes
c1e853c51d
More detailed logging for FullRollingRestartTests.testFullRollingRestart
...
set indices.cluster & cluster.service to TRACE
2013-11-03 16:50:22 +01:00
Shay Banon
ed10758a6b
add keys/values to ImmutableOpenMap
2013-11-03 14:34:29 +01:00
Shay Banon
671d2dd650
verify operations on store dir are executed when its open
...
call ensureOpen and properly set the open flag
also, better handling of failures and error message during listAll in local recovery
2013-11-03 14:23:58 +01:00
Shay Banon
8f88d0aa4a
URI routing parameter support with multi search API
...
Support URI level routing parameter for the multi search API, that will act as the default routing (unless explicitly set).
closes #4058
2013-11-03 02:30:19 +01:00
Shay Banon
a8535e247e
URI routing parameter does not work with Bulk API
...
closes #4053
2013-11-03 02:16:09 +01:00
Simon Willnauer
b0a8abeb88
Add missing .get() call to actually execute the update setting in RecoveryWhileUnderLoadTests
2013-11-02 09:16:25 +01:00
Shay Banon
6be85cece4
cleanup DiscoveryNodes#Builder construction
...
have a better method name, and only allow to create a copy of the builder based on existing nodes when constructing the builder
2013-11-02 03:38:22 +01:00
Shay Banon
e551ec282f
cleanup ClusterState#Builder construction
...
have a better method name, and only allow to create a copy of the builder based on existing cluster state when constructing the builder
2013-11-02 02:52:01 +01:00
Shay Banon
ef56c68f67
have IndexMetaData Builder pattern similar to other state builders
2013-11-02 02:13:25 +01:00
Shay Banon
fef647cb92
cleanup RoutingTable#Builder construction
...
have a better method name, and only allow to create a copy of the builder based on existing routing table when constructing the builder
2013-11-02 01:27:51 +01:00
Shay Banon
d111e169a4
cleanup MetaData#Builder construction
...
have a better method name, and only allow to create a copy of the builder based on existing meta data when constructing the builder
2013-11-02 01:04:33 +01:00
Shay Banon
acc5f584d4
fix test to not rely on execution of processed / ack order
...
also, make sure the order is consistent (as much as possible) when calling ack to processed
2013-11-02 00:04:12 +01:00
Andrew Raines
7d2c4afa98
_cat/nodes improvements.
...
* Handle info/stats null possibilities if cluster is in duress.
* Shorten node id.
2013-11-01 17:33:54 -05:00
Andrew Raines
928ac2e3b7
Ignore project tmp dir.
2013-11-01 16:42:51 -05:00
Andrew Raines
f9a1726300
Add _cat/health.
...
% curl localhost:9200/_cat/health\?v=1\&ts=0
cluster status nodeTotal nodeData shards pri relo init unassign
kluster green 1 1 20 20 0 0 0
% curl localhost:9200/_cat/health\?ts=0
kluster green 1 1 20 20 0 0 0
% curl localhost:9200/_cat/health\?v=1
epoch time cluster status nodeTotal nodeData shards pri relo init unassign
1383341092 16:24:52 kluster green 1 1 20 20 0 0 0
% curl localhost:9200/_cat/health
1383341119 16:25:19 kluster green 1 1 20 20 0 0 0
Closes #4050 .
2013-11-01 16:37:23 -05:00
Andrew Raines
48f4ba06c0
Add TimestampedTable subclass.
2013-11-01 16:37:22 -05:00
Andrew Raines
720edafa0d
Disable RestTable headers by default.
2013-11-01 16:37:22 -05:00
Simon Willnauer
caee7c8831
Stableize recoverWhileRelocating by expanding replicas at the end
2013-11-01 22:16:24 +01:00
Shay Banon
f720531328
protect ImmutableOpenMap builder from using the built map after build has been called
2013-11-01 20:53:24 +01:00
Shay Banon
633e781204
remove unneeded check...
2013-11-01 19:44:25 +01:00
Luca Cavanna
afa0ab6226
Fixed ack behaviour when no ack is expected from any node or timeout is set to 0
...
We now return acknowledged true when no wait is needed (mustAck always returns false). We do wait for the master node to complete its actions though. Previously it would try to timeout and hang due to a CountDown#fastForward call when the internal counter is set to 0
We now return acknowledged false without starting the timeout thread when the timeout is set 0, as starting the wait and immediately stopping the thread seems pointless.
Added coverage for ack in ClusterServiceTests
2013-11-01 18:24:45 +01:00
Shay Banon
c63741db04
Introduce a new ImmutableOpenMap
...
this map is a "true" immutable map, encapsulating an open impl, and has a builder that allows it to be built easily.
the builder has the optimization of using clone if its being built based on an existing immutable map.
2013-11-01 18:20:25 +01:00
Luca Cavanna
a021c1d4f2
Improved acknowledgement test for cluster reroute with dry_run flag
...
Usually acknowledged true means that all nodes have digested the change and are in sync. When no changes are made, there is no need to push a new cluster state, no need to wait for ack either, but can't guarantee that all nodes are in sync.
When using cluster reroute with dryRun flag no changes are made, this test was based on the wrong assumption that acknowledged meant all nodes were in sync, which is not the case here.
Changed the test to only read the cluster state from the master, to check that nothing changed there after processing the cluster state update.
2013-11-01 15:45:31 +01:00
Dan Everton
6df60b7271
[DOC] Improve documentation on search stats groups
...
Document the ability to return all search statistics groups and provide examples of returning search statistics for groups.
2013-11-01 13:53:39 +01:00
Simon Willnauer
c78c5469e4
Randomize exceptions when file is deleted while still open.
...
This somehow emulates a behavior on windows but we should test the
other code paths as well.
2013-11-01 11:47:22 +01:00
Martijn van Groningen
30ab6f841d
[DOCS] Fixed percolate docs errors
2013-11-01 11:44:07 +01:00
Martijn van Groningen
d660b18298
Fixed bug (NPE) in mpercolate api, defaults from percolating existing documents where also applied for the regular percolate api, these defaults were none existing (null).
2013-11-01 11:17:16 +01:00
Martijn van Groningen
65fc90728e
The mpercolate api rest endpoint should also support http get.
2013-11-01 11:09:17 +01:00
Luca Cavanna
29363d8139
Removed needless concreteIndices call, already called in doExecute and set to the request object
2013-10-31 20:58:52 +01:00
Clinton Gormley
4206cc988e
[DOCS] Typo on shingle tokenfilter
2013-10-31 20:18:00 +01:00
Luca Cavanna
3ee9f27fbe
Fixed delete mapping to return acknowledged false when ack times out
2013-10-31 16:28:44 +01:00
Martijn van Groningen
81089fb228
Fixed concurrency issue in simple id cache. The lget() of a map can only be used if the map isn't shared.
2013-10-31 16:20:29 +01:00
Shay Banon
c68016bb83
better timeout handling waiting for primary to be active for indexing
...
take into account the correct delta timeout when scheduling it, since now we can retry again after removing a listener
2013-10-31 15:54:37 +01:00
Simon Willnauer
fcfc41209b
use Math.max rather than an if statement
2013-10-31 14:36:24 +01:00
Simon Willnauer
59588913b3
Evilize RecoveryWhileUnderLoadTests a bit more
2013-10-31 14:25:28 +01:00
Shay Banon
5f2b7dc266
improve moving from post_recovery to started
...
we need to move to started from post recovery on cluster level changes, we need to make sure we handle a global state change of relocating, which can happen (and not pass through started)
2013-10-31 14:23:58 +01:00
Opak Alex
6856cfc5e3
add reference for ember-data-elasticsearch-kit to integrations page
2013-10-31 11:40:01 +01:00