Commit Graph

9845 Commits

Author SHA1 Message Date
Chris Earle 60c16ba92c Use groovy-x.y.z-indy jar for better scripting performance
Using the Groovy jar with the indy (short for `invokedynamic`) classifier enables usage of the `invokedynamic` instruction available in Java 7+. Due to buggy JVMs, it should only be used with Java 7u60 or later.
2014-10-21 13:08:08 -04:00
Ryan Ernst 189d432221 Tests: Control reallocation in upgrade test to stop rebalancing causing upgrade requests to be lost. 2014-10-21 09:18:10 -07:00
Brian Kim 58086dd08b Docs: missing quote
fix missing quote

Closes #8176
2014-10-21 12:52:12 +02:00
Adrien Grand 3728c94780 Tests: Fix SearchFieldsTests after changes to TimestampFieldMapper. 2014-10-21 10:42:54 +02:00
Peter Dyson b984cb771f Docs: Provide example of deleting a repository
Example of deleting a repository with explanation that snapshots themselves are left untouched.

Closes #8172
2014-10-21 10:10:03 +02:00
Andrei Kolosok c31a783930 Docs: Update filtered-query.asciidoc
Fix mistyping

Closes #8167
2014-10-21 09:45:19 +02:00
Andrei Kolosok 92abfc8e24 Docs: Update minimum-should-match.asciidoc
Add %-sign to examle in the last section

Closes #8157
2014-10-21 09:43:55 +02:00
Reuben Sutton 645ce26287 Change IndexPrimaryShardNotAllocatedException from 409 (RestStatus.CONFLICT) to 500 (RestStatus.INTERNAL_SERVER_ERROR)
Closes #7632, Closes #7987
2014-10-20 21:09:51 +02:00
Mark J Greene d5e813929c Boostrap: Log startup exception to console if needed and to file as error
Closes #6581
2014-10-20 20:48:37 +02:00
Ryan Ernst 3323ac1579 Tests: Adding additional debug info to upgrade test. 2014-10-20 11:26:56 -07:00
Erik Wyatt 6dac6ecd93 Parent/child: Reduce memory usage in top children query.
Closes #8165
Closes #8160
2014-10-20 19:41:39 +02:00
David Pilato 0ff61e1d6f Add time_zone setting for query_string
Query String query now supports a new `time_zone` option based on JODA time zones.
When using a range on date field, the time zone is applied.

```json
{
"query": {
  "query_string": {
    "text": "date:[2012 TO 2014]",
    "timezone": "Europe/Paris"
  }
 }
}
```

Closes #7880.
2014-10-20 19:09:45 +02:00
Lee Hinman 65d40468b8 Raise maximum index name length to 255 bytes
Fixes #8079
2014-10-20 15:44:20 +02:00
Boaz Leskes 0146653b92 Test: RelocationTests.testMoveShardsWhileRelocation should wait on nodes to start before asking for a client
The client call may create another node if none of the previous nodes are published. That node throws the test off.
2014-10-20 15:11:15 +02:00
Adrien Grand 230c6684a9 Search: Remove partial fields.
Partial fields have been deprecated since 1.0.0Beta1 in favor of _source
filtering. They will be removed in 2.0.
2014-10-20 12:29:30 +02:00
Adrien Grand f4ee3f25e4 Mappings: Store _timestamp by default.
Storing `_timestamp` by default means that under the default configuration, you
would have all the information you need in order to reindex into a different
index.

Close #8139
2014-10-20 12:17:26 +02:00
Adrien Grand a64a5c148b Eclipse: do not use star imports and reorganize imports on save.
Close #7587
2014-10-20 12:16:50 +02:00
Clinton Gormley 4da62a33b5 Update plugins.asciidoc
Added Vietnamese Analyser to plugins page

Closes #6647
2014-10-20 11:56:01 +02:00
Lee Hinman 34503b8d61 [TESTS] Add a benchmark for circuit breaker overhead 2014-10-20 11:19:40 +02:00
Lee Hinman 1c4d07c96f Allow setting individual breakers to "noop" breakers
This adds a NoopCircuitBreaker, and then adds the settings
`indices.breaker.fielddata.type` and `indices.breaker.request.type`,
which can be set to "noop" in order to use a breaker that will never
break, and incurs no overhead during computation.

This also refactors the tests for the CircuitBreakerService to use
@Before and @After functions as well as adding settings in
ElasticsearchIntegrationTest to occasionally use NOOP breakers for all
tests.
2014-10-20 10:43:41 +02:00
Ryan Grimm 74586e2867 Docs: Added 'd' to the list of supported units.
Day was missing from the list of supported units in the date math section.

Closes #8151
2014-10-19 21:24:28 +02:00
Michael McCandless f4202652b1 Tests: re-enable these tests 2014-10-19 04:40:29 -04:00
Michael McCandless 3e455828f9 Test: ignore this for now 2014-10-18 15:01:49 -04:00
Michael McCandless 67974c5146 Test: ignore this for now 2014-10-18 14:58:34 -04:00
Michael McCandless 85065f9c8e Core: cutover to Lucene's query rescorer
This is functionally equivalent to before, so there should be no
user-visible impact, except I added a NOTE in the docs warning about
the interaction of pagination and rescoring.

Closes #6232

Closes #7707
2014-10-18 05:25:50 -04:00
Michael McCandless f444678dba Core: fix index throttling to notice a change to max_merge_count on the next merge start/finish
Previously such changes were never noticed, and index throttling kept
kicking in at the original setting from startup.

Closes #8136

Closes #8132
2014-10-18 04:32:39 -04:00
Alexander Reelsen 37e606819c Test: Fix netty multiport tests
Ensuring, that even in local mode, netty is started appropriately.
2014-10-17 16:16:04 -07:00
Alexander Reelsen b06b52449f Netty: Support to bind on multiple host/port pairs
This patch allows to create several netty bootstrap, each of which
listening on different ports. This will potentially allow for features
to listen to different network interfaces for node-to-node or node-to-client
communication and is also the base to listen to several interfaces, so that those
can be used to speed up cluster communication in the future.

Closes #8098
2014-10-17 13:55:07 -07:00
Robert Muir 5d53d03c2d Internal: use 1 instead of 0 as filler version value for nested docs 2014-10-17 15:14:54 -04:00
Colin Goodheart-Smithe 4723c2a2ee Aggregations: Buckets can now be serialized outside of an Aggregation
This change means that buckets can now be serialised to JSON and serialized and deserialized to the transport API outside of the aggregation that contains them.  This is a required change for #8110 (Reducers framework) but should make sense on it's own since object should really take care of their own serialization rather than relying on their parent object.
2014-10-17 16:07:40 +01:00
Lukasz Dywicki b0a14f0b63 Avoid shading of org.joda.convert package, fixes #3557 2014-10-17 15:44:10 +02:00
Sergii Golubev 028a2b732a Docs: Percolate reference - a typo and a misused word
Closes #8116
2014-10-17 15:26:29 +02:00
Sergii Golubev ae923a81b9 Docs: Percolate `_score` reference
Added missing `_score` word, made the sentence less ambiguous.

Closes #8115
2014-10-17 15:25:02 +02:00
wmx3ng 940534299d Docs: Some Data Cant't be obtained.
In previous case, the first 100 data can't be obtained.

Closes #8103
2014-10-17 15:20:33 +02:00
Sergii Golubev 0fb81d6643 Docs: Update id-field.asciidoc
It is strange to provide an example with `"store" : false` when talking about possibility of enabling the field to be stored.
Broke the line in the mapping in two lines for better readability.
More verbose sentence above the mapping.

Closes #7894
2014-10-17 15:17:24 +02:00
Clinton Gormley 646f7acf5c Docs: Documented the http.*host and transport.*host settings 2014-10-17 15:01:42 +02:00
Chris Earle 4567b326cf Fixing copy/paste mistake in SearchRequest.extraSource's exception message. 2014-10-16 16:38:10 -04:00
Ryan Ernst ef8ac139aa Remove unnecessary log level setting in upgrade test. 2014-10-16 12:59:05 -07:00
Ryan Ernst f6c915f834 More improvements to debug logging for upgrade test. 2014-10-16 12:43:09 -07:00
Clinton Gormley 5f77d4c5b9 Improve amibiguous ES_HEAP_SIZE warning in deb init script
Closes #3554
2014-10-16 20:58:47 +02:00
Andrew O'Brien 33097d901b Docs: Typo: s/by/be/
Closes #8114
2014-10-16 20:51:58 +02:00
Patrick Peschlow 9b03fda5d7 Docs: fix typo
Closes #8111
2014-10-16 20:48:57 +02:00
John Michael Luy 86f6e21cdf Docs: Update query-string-query.asciidoc
Update sample

Closes #8024
2014-10-16 20:21:12 +02:00
Josh Kuhn f4d9cce659 Docs: Added RethinkDB River to list of community plugins
Closes #8016
2014-10-16 20:15:33 +02:00
Son 6f3227db01 Docs: Fix order for PUT _mapping docs
Closes #8083
2014-10-16 18:49:36 +02:00
Derek Haynes 4a7d85f186 Docs: Adding community-contributed Scout plugins
Scout plugins for reporting key node, cluster, and index health metrics.

Closes #7937
2014-10-16 16:47:08 +02:00
Colin Goodheart-Smithe c7971fb0f9 Docs: adds note about using null_value with dynamic templates
Closes #7874
2014-10-16 14:00:00 +01:00
Jun Ohtani 533c1084ec Docs: add the predefined language-specific stopword lists to stop-tokenfilter.asciidoc 2014-10-16 13:20:38 +09:00
Igor Motov e3d379fb08 Snapshot/Restore: fix snapshot of a single closed index
Snapshot of a closed index can leave snapshot hanging in initializing state.

Fixes #8046
2014-10-15 17:57:21 -04:00
Spencer 249a145a5c Update cat.nodes regex
Support for multi-word node names like 'Henry "Hank" McCoy'
2014-10-15 14:33:41 -07:00