Commit Graph

4047 Commits

Author SHA1 Message Date
Shay Banon e40f4d2b1a add cluster name back to cluster state API 2012-10-22 15:35:04 +02:00
Shay Banon a3ffc65909 add 0.20.0.RC2 to versions on master 2012-10-22 01:56:23 +02:00
Shay Banon c1489be816 forgot to mark 0.21.0 as snap 2012-10-22 01:55:33 +02:00
Shay Banon 6ec0071fa4 move master to be 0.21.0 Beta1 snap 2012-10-22 01:51:20 +02:00
Shay Banon fe980343be release 0.20.0.RC1 2012-10-22 01:48:09 +02:00
Shay Banon c0e2eb5f5f better workaround for snappy error output
instead of setting the err stream to null, set it to a null output print stream
2012-10-22 00:15:12 +02:00
Shay Banon faa7501715 Aliases API times out when actions end up with no actual change to aliases
closes #2345
2012-10-21 02:45:56 +02:00
Shay Banon a3e7daf415 Auto create index to support white/black lists of index patterns
closes #2344
2012-10-21 02:27:30 +02:00
Martijn van Groningen 6a936a9efc Added method that accepts a map as script parameters 2012-10-21 00:46:19 +02:00
Martijn van Groningen ee5df74a6b Fixed delete by query issue with index aliases and nested mappings.
The issue was that under these circumstances the delete by query operation would run forever.
What also is fixed is that during shard recovery when delete by query is replayed nested docs
are also deleted. Closes #2302
2012-10-20 23:39:15 +02:00
Shay Banon 246dc1d992 formatting 2012-10-19 09:48:48 +02:00
Simon Willnauer b6a83fd8b2 #2332 support CustomScoreQuery highlighting and expose QueryBuilder on CustomScoreQuery via Java API 2012-10-19 09:23:16 +02:00
Shay Banon 2c7850584d move all allocations to be Decision base
this again will allow to provide better output as to why a specific decision has been made (like a shard needing to move from a node)
2012-10-16 10:10:06 -04:00
Shay Banon a963bc1dc9 Setting index_analyzer incorrectly sets analyzer
fixes #2329
2012-10-16 09:19:47 -04:00
Shay Banon c2073c343d improve allocation decision to allow to explain why a decision has been made
building the infra to support explaining why an allocation decision has been made, for example, why a shard is not allocated on a specific node
2012-10-16 09:03:54 -04:00
Shay Banon c350dcd9cf upgrade to jackson 2.1.0 2012-10-14 15:37:08 -04:00
Shay Banon 384286d463 Mapping: Using _default_ mapping type with _source excludes (or array based config) can cause the array to grow indefinitely
closes #2317
2012-10-11 19:02:06 -07:00
Shay Banon 27562270ca simplify cleaning up non allocation shard code
its pretty complex today, simplify it by doing a single iteration, and handling both dangling shard cleanup on existing indices and shards that have been reallocated to a differetn node
2012-10-11 18:46:24 -07:00
Shay Banon 320c9b7681 close parser when parsing update body 2012-10-06 19:47:11 +02:00
Shay Banon 2fa017db11 Terms filter: Add `or` and `or_nocache` execution modes
closes #2306
2012-10-05 18:21:58 +02:00
Shay Banon 9122befdfb add logging on the size of message received 2012-10-04 20:33:25 +02:00
Shay Banon 8ea019aa82 formatting 2012-10-04 20:07:57 +02:00
Henrik Lindström 4d969add80 If types and index mappings are empty consider the mapping as an "empty" mapping and return status 200. 2012-10-04 20:07:10 +02:00
Shay Banon 2c150419ce add additional (internal) flush option
this flush option allows to just commit and index writer, without actually clearing the translog
2012-10-03 16:36:13 -04:00
Shay Banon 2532761c51 increase the clean interval of filter cache 2012-10-01 15:30:14 -04:00
Shay Banon 9096baf7d9 1.7 compiler failure
fixes #2294.
2012-10-01 08:11:28 -04:00
Shay Banon 9ad8c08505 fix segments per tier to the proper 10 default 2012-09-30 10:12:03 -04:00
Shay Banon 433b189eb4 provide the timer for netty
this helps to control the thread name of the thread it created
2012-09-30 09:11:03 -04:00
Shay Banon c56cc6ecbe Upgrade to netty 3.5.8
closes #2299.
2012-09-29 19:24:43 -04:00
Shay Banon 05653cbdaa move cleaning filter cache on closed readers to separate thread
improve cleaning the global weighted cache when a reader closes, move it to a separate thread, so iterating over the cache entries will nto happen on each segment closed, but instead be "bulked"
2012-09-29 14:06:28 +02:00
Shay Banon 9dd8e1ea05 refresh thread pool to use scaling with default size of 10 2012-09-29 13:21:18 +02:00
Shay Banon 5bf566660b fix detection when JTS / spatial4j are not available 2012-09-28 22:29:08 +02:00
Shay Banon 7d6c567e6f return null instead of empty doc set
null can more easily be optimized in other filters
2012-09-28 17:18:07 +02:00
Martijn van Groningen 51e69e1a9e Fixed NPE when using `has_parent` or `has_child` filter/query.
The NPE occurred when for an arbitrary segment no parent documents exist for a has_parent filter/query and no child documents exist for a has_child filter/query.

Closes #2297
2012-09-28 17:08:30 +02:00
Shay Banon 2df6b4b0ea more guice to use Objects from guava 2012-09-28 14:03:41 +02:00
Shay Banon f9fc9bdb20 query_string on multiple fields with "*" fails in 0.19.9
fixed #2296
2012-09-28 14:00:43 +02:00
Shay Banon d8a3096a1a make sure to pass the updated settings from the plugins to the modules with transport client 2012-09-28 13:47:34 +02:00
Shay Banon 81775cc763 upgrade to mvel 2.1.3 2012-09-28 10:02:52 +02:00
Shay Banon 613c70c289 introduce TransportResponse
a class that needs to be used when sending a response over the transport layer, with an option to have headers
2012-09-27 18:05:16 +02:00
Shay Banon 15453272f7 fetching a shape should not occur on separate thread 2012-09-26 23:47:27 +02:00
Shay Banon cfe7504d1c introduce TransportRequest (with optional headers)
introduce a new class, TransportRequest, which includes headers. This class can be used when sending requests over the transport layer, and ActionRequest also extends it now.
This is the first phase of the refactoring part in the transport layer and action layer to allow for simpler implementations of those as well as simpler "filtering" capabilities in the future
2012-09-26 23:46:28 +02:00
Shay Banon 15fbbd43ce Bulk Delete item when broadcast to all shard (lack of routing) might not be applied correctly
closes #2285.
2012-09-24 14:04:10 +02:00
Martijn van Groningen 81a6940ad3 Fixed score explain is for `custom_filters_score` query.
Only the explain of the filter was included. This fix adds an explain for the inner query and wraps it in a top-level explanation.
2012-09-24 14:00:34 +02:00
Shay Banon 6e66f45f58 minor geo shape fetch improvements 2012-09-23 21:31:13 +02:00
Chris Male 05e0b4d4e0 Added ShapeFetchService with support in GeoShapeQueryParser/FilterParser 2012-09-23 21:24:13 +02:00
Shay Banon df0ff176d4 add simpler way to set the epoll bug workaround flag for netty 2012-09-22 19:50:43 +02:00
Shay Banon f73d684c76 use the version to deserialize published cluster state 2012-09-22 19:47:50 +02:00
Shay Banon d5e11fdcd9 disconnect from unicast nodes before raising event 2012-09-22 19:38:34 +02:00
Shay Banon aa435a288b add node version to each request/response transport message
a version associated with each request, and having it associated with the stream when (de)serializing, can allow us in the future to better support cross version communication
2012-09-22 02:35:29 +02:00
Shay Banon cc7eb263be Transport: Add header token
This allows to more easily identify when illegal content is being sent to the transport port
closes #2280
2012-09-21 23:56:27 +02:00