Commit Graph

3856 Commits

Author SHA1 Message Date
Shay Banon b055b5a94c Upgrade to mvel 2.1.1, closes #2228. 2012-09-02 21:29:10 +02:00
Shay Banon 8b499dd4fd upgrade to guava 13.0.1 2012-09-02 17:52:40 +02:00
Shay Banon edfbfc1c87 Update Settings API: Allow body request to be wrapped with `settings` element to conform with other APIs, closes #2227. 2012-09-02 17:40:08 +02:00
Shay Banon c834bca43c use java to when no JAVA_HOME defined
remove using "which java", which will give a better error message when java is not available
2012-09-01 11:54:25 +02:00
Shay Banon 6c3847b0a9 move spatial4j and jts to be optional dependencies
allowing data and client nodes to work without them, disabling shapes if needed
2012-09-01 00:05:49 +02:00
Kenn Knowles e66bd4359a Fix reversed ShingleFilter constructor arguments 2012-08-31 22:25:07 +02:00
Martijn van Groningen 9b29950997 Added fields option to explain api. #2203 2012-08-31 22:19:09 +02:00
Martijn van Groningen cd0e1226e1 Added a global ignore_malformed index setting. #2220 Also extended the ignore_malformed support to TTL, Ip and timestamp field types. 2012-08-31 22:10:46 +02:00
Shay Banon 888b7cc48f only print failure to reconnect to node from other nodes after several retries 2012-08-31 17:14:04 +02:00
Martijn van Groningen dea2de3304 Add ignore_indices option for search, multisearch, count and other Broadcast request. #2209 2012-08-27 15:36:14 +03:00
Martijn van Groningen 1d4aee6086 - Explain api opens 2 engine searchers, but closes only 1 engine searcher. Closes #2206 2012-08-27 12:20:02 +03:00
Shay Banon da61ddee3c 0.19.9 no longer supports /_all/_status, closes #2205. 2012-08-25 14:18:48 +03:00
Shay Banon dfa67bf071 allow to register custom state associated with cluster state 2012-08-25 00:40:44 +03:00
Martijn van Groningen bbe735f2cc Fixed issue #2197 2012-08-25 00:38:26 +03:00
uboness b4b33bb205 Local node master listener
* Fixed an issue where dynamic update to minimum_master_nodes settings would not take immediate effect
* Added LocalNodeMasterListener support to the ClusterService. Enables listening to when the local node becomes/stopped being a master
2012-08-24 02:25:13 +02:00
Shay Banon 36ff6c9b8b add a lock not allowing connecting to nodes while shutting down 2012-08-24 02:23:43 +02:00
Shay Banon 333293babd ignore cancelled key exception as well 2012-08-23 23:35:48 +02:00
Shay Banon 072fcaa760 Bulk UDP, closes #2201
A Bulk UDP service is a service listening over UDP for bulk format requests. The idea is to provide a low latency UDP service that allows to easily index data that is not of critical nature.

The Bulk UDP service is disabled by default, but can be enabled by setting `bulk.udp.enabled` to `true`.

The bulk UDP service performs intenral bulk aggregation of the data and then flushes it based on several parametres:

* `bulk.udp.bulk_actions`: The number of actions to flush a bulk after, defaults to `1000`.
* `bulk.udp.bulk_size`: The size of the current bulk request to flush the request once exceeded, defaults to `5mb`.
* `bulk.udp.flush_interval`: An interval after which the current request is flushed, regarldess of the above limits. Defaults to `5s`.
* `bulk.udp.concurrent_requests`: The number on max in flight bulk requests allowed. Defaults to `4`.

The network settings allowed are:

* `bulk.udp.host`: The host to bind to, defualts to `network.host` which defaults to any.
* `bulk.udp.port`: The port to use, defaults to `9700-9800`.

Here is an example of how it can be used:

    > cat bulk.txt
    { "index" : { "_index" : "test", "_type" : "type1" } }
    { "field1" : "value1" }
    { "index" : { "_index" : "test", "_type" : "type1" } }
    { "field1" : "value1" }

    > cat bulk.txt | nc -w 0 -u localhost 9700
2012-08-23 22:17:37 +02:00
Shay Banon ba98b04081 fix wrong check on close 2012-08-23 20:58:40 +02:00
Shay Banon bb609f696f add 0.19.10 2012-08-23 13:52:57 +02:00
Shay Banon 1f3b0d4144 Reduce index.shard.recovery.concurrent_streams from 5 to 3 to reduce the load when doing recovery, closes #2199.
the index.shard.recovery.concurrent_streams controls how many streams are opened from a recovery source to a recovery target to transfer index files. Reduce it from 5 to 3 to reduce the load when doing recovery (for example, due to relocation).

Note, recent changes in network buffering will mean that recovery will progress considerably faster, so this change will not affect recovery times.
2012-08-23 13:20:54 +02:00
Shay Banon 37b33cf77d protect a bit more from bogus (not relevant) exceptions when closing a node 2012-08-23 01:31:11 +02:00
Shay Banon 377914bd07 Upgrade to netty 3.5.5, closes #2196. 2012-08-23 01:30:49 +02:00
Shay Banon 14c11a94fb MinimumNumberShouldMatch inconcistency, closes #2194
Streamline the use of minimum should match to all relevant queries to accept `minimum_should_match`, and allow all relevant queries to accept the advanced "string" based config
2012-08-22 14:15:08 +02:00
Shay Banon 177568a61f no need to optimize on the bool query parser, we already do that in the optimizeQuery method 2012-08-22 13:15:22 +02:00
uboness 3fdb9f0a27 Enabled the option of configuring plugin types in the settings. This will also help in tests when testing plugin related functionality 2012-08-21 23:00:24 +02:00
Shay Banon 2dd82675fb when using wildcard notation delete all indices might kick in even though its disabled 2012-08-21 21:49:16 +02:00
Shay Banon c33ca2921d small optimization for global facet with facet filter, by removing the double check on the facet filter 2012-08-21 19:32:55 +02:00
Shay Banon f03ff2976a reformat 2012-08-21 14:22:12 +02:00
Jörg Prante ef6ad6c966 mapping BigDecimal to double or string in XContentBuilder 2012-08-21 14:21:30 +02:00
Shay Banon b5d9d3dbee small renames here and there 2012-08-21 14:16:51 +02:00
Martijn van Groningen 8365e7ba0b - Added explain api. #2184 2012-08-21 13:26:17 +02:00
Shay Banon a8656c8a6f Incorrect application of boost in SpanNotQueryBuilder, closes #2192. 2012-08-21 13:08:23 +02:00
Shay Banon a80639abf5 exclude xerces from the deps for jts, we don't need it 2012-08-20 17:48:18 +02:00
Shay Banon dbe2f53a00 Support YAML as content type 2012-08-20 17:40:19 +02:00
Shay Banon 9aae62b4a6 All Field: Automatically detect when field level boosting is used, and optimize when its not, closes #2189. 2012-08-20 15:07:32 +02:00
Shay Banon e1fe89389c change mappersAdded flag to mappingsModified to better reflect any possible change in mappings, not just additions 2012-08-20 13:36:28 +02:00
Shay Banon 79cb0eafc4 better close logic for concurrent recovery streams 2012-08-20 02:05:54 +02:00
Shay Banon 08ecd9d772 refactor all Queue and BlockingQueue creations into a single factory method 2012-08-19 18:15:48 +02:00
Shay Banon e3a9271000 unify more count and search implementation 2012-08-19 16:54:53 +02:00
Shay Banon bc2887344e convert to optimized match all query also when executing "*" query 2012-08-18 18:15:54 +02:00
Shay Banon 341c53b580 Upgrade to Netty 3.5.4, closes #2180. 2012-08-16 12:15:24 -07:00
Simon Willnauer b0b5775c98 use term query instead of a specialized SpanTermQuery on _all field if positions are omitted 2012-08-16 10:42:14 -07:00
Shay Banon a4acb9a95b move debug level on failure to clean log files from warn to debug 2012-08-16 10:34:31 -07:00
Shay Banon f317399b46 allow to flush bulk processor based on time, and better listener api 2012-08-16 09:14:19 -07:00
Shay Banon ab49a8c2fc improve update test to wait for green cluster state 2012-08-14 01:47:18 +02:00
Shay Banon 70f212a4dc more improvements for handling of large / many mappings by batching the removal of mappings 2012-08-14 00:18:11 +02:00
Shay Banon 5715588b96 fix geo shape to use the new index options 2012-08-13 17:30:38 +02:00
Simon Willnauer 53f65d8ff2 Remove / deprecated omit_term_freq_and_positions in favor of IndexOptions exposed via mapping API 2012-08-13 17:19:08 +02:00
Shay Banon 980fc6ca34 add new spatial jars to deb package as well 2012-08-13 14:51:53 +02:00