3718 Commits

Author SHA1 Message Date
Shay Banon
2436f645aa add 0.19.9 2012-07-02 22:10:28 +02:00
Shay Banon
1c3c737524 don't double compress already compressed files when doing recovery 2012-07-02 21:41:40 +02:00
Shay Banon
1668533556 improve dangling index support to not detect explicit deleted index as dangling, harden when we delete the _state of an index 2012-07-02 17:17:16 +02:00
Shay Banon
b2c4876626 (full) recovery memory based indices with local gateway, don't fail them, closes #2077. 2012-07-02 00:31:10 +02:00
Shay Banon
bdf146ded6 Exists API can send response body, closes #2072. 2012-07-02 00:04:49 +02:00
Shay Banon
3ab85bacdd don't delete shards state in the state handle, but let the indices store eventually delete it based on its logic of when to delete a shard 2012-07-01 21:51:19 +02:00
Shay Banon
6cd9b92f95 ElasticSearchIllegalStateException: stream marked as compressed, but no compressor found on transport layer, closes #2076. 2012-07-01 20:26:33 +02:00
Shay Banon
743d3f7e4b better failure message when failing to detect compressor on compressed transport stream 2012-07-01 18:34:58 +02:00
Shay Banon
e5c89def42 Support wildcard and +/- notation for multi index APIs, closes #2074. 2012-07-01 18:16:04 +02:00
Shay Banon
22bdd161ad return proper content type for mp3 2012-06-30 18:26:21 +02:00
Shay Banon
565db26e13 Store Compression: integer overflow causes failed reads (index is safe), closes #2071. 2012-06-30 01:37:46 +02:00
Shay Banon
8bab859822 simplify tests, doc file length 2012-06-29 16:01:17 +02:00
Shay Banon
f2e39e4ee2 Auto import dangling indices, closes #2067. 2012-06-29 01:01:26 +02:00
Shay Banon
07454243e3 getSourceAsString() for doc inserted as SMILE fails, auto convert to JSON, closes #2064. 2012-06-28 14:17:58 +02:00
Shay Banon
a872c88f03 dangling index handling might still remove the state files for the dangling index, closes #2065. 2012-06-28 13:32:44 +02:00
Shay Banon
7454c7c192 freeing the search context should execute on the same thread, its cheap 2012-06-28 09:56:49 +02:00
Shay Banon
016e2e7288 Have rest request also allow to get the content as a streamable
(note, this will break plugins that implement a rest handler..., like wares, thrift, and memcached, until they are upgraded)
2012-06-28 02:00:47 +02:00
Shay Banon
1ffd68f2de Upgrade to netty 3.5.1 2012-06-28 00:51:37 +02:00
Shay Banon
0aa0b9ef22 cleanups 2012-06-27 21:50:36 +02:00
Matt Weber
d6bc17fee5 Partial update without script
Allow the use of "doc" as the update source when a script is not
specified.  New fields are added, existing fields are overwritten, and
maps are merged recursively.
2012-06-27 21:29:22 +02:00
Igor Motov
a4ad84b5e4 Enable validation of queries with has_child and script filters 2012-06-27 21:23:02 +02:00
Igor Motov
dbeda1ab2b Add missing serialization for error and explanation in validate query request 2012-06-27 21:23:01 +02:00
Shay Banon
644dcb99cf Setting index to no ends up using by default the "keyword" analyzer on it, which means one can't highlight on it when searching on _all, closes #2062. 2012-06-27 21:16:03 +02:00
Petri Lehtinen
834c79597e deb: Allow configuring max open files and max locked memory limits 2012-06-27 13:09:46 +02:00
Shay Banon
d2bf87c89c print the memory pools on GC logging 2012-06-27 12:05:53 +02:00
Shay Banon
acc9783386 add 0.19.8 2012-06-26 19:59:40 +02:00
Shay Banon
2b893fe1e5 Use bloom filter when flushing (applying deletes), closes #2058. 2012-06-26 16:45:29 +02:00
Shay Banon
2eee92726c support also queue for setting queue size in fixed thread pool 2012-06-26 13:02:43 +02:00
Igor Motov
7f77cfada0 Add support for zero queue size in the search thread pool 2012-06-26 13:01:18 +02:00
Shay Banon
eb954a6157 better failure message when failing to load _uid field 2012-06-26 02:40:33 +02:00
Shay Banon
12a644c89b Stored Compression: failure to fetch document in certain cases (read failure, index compression works), closes #2055. 2012-06-26 01:54:19 +02:00
Shay Banon
6c74f99ed3 better generics in plugin module instance providers 2012-06-25 22:50:15 +02:00
Shay Banon
c39a27a328 "index_analyzer" and "search_analyzer" should override "analyzer", closes #2052. 2012-06-25 22:05:34 +02:00
Shay Banon
11ca3ea0ec deb package fails to start elasticsearch
The ability to use es.default prefix broke the deb package that uses it now.
2012-06-25 21:59:12 +02:00
Shay Banon
5533fe2b88 don't double set settings with es.default. or elasticseearch.default.
though harmless, since we don't have any "default" component, and effectively has not effect on the settings used, it still puts settings that we don't really need
2012-06-25 21:31:18 +02:00
Shay Banon
2e610ea653 add 0.19.7 2012-06-25 17:34:31 +02:00
Shay Banon
d01048c93d return 404 when trying to delete a mapping that does not exists 2012-06-25 17:25:19 +02:00
Shay Banon
c0f9e337ce elasticsearch fails to start due to verification error, closes #2051. 2012-06-25 17:00:26 +02:00
Shay Banon
e523c71a88 add 0.19.6 2012-06-25 15:37:35 +02:00
Shay Banon
376779df18 wait for remove mapping to happen on the cluster before returning control back 2012-06-25 14:30:18 +02:00
Shay Banon
6e7764a083 reduce objects created with bloom filter operations 2012-06-24 20:58:44 +02:00
Shay Banon
2fb867b467 Store Compression: Term Vector Vector, closes #2049. 2012-06-23 23:11:00 +02:00
Shay Banon
ded5b773da River name re-use not possible between node shutdowns, closes #1921.
This effectively happens because we don't flush before deleting a mapping, which causes it to still reply the changes happening for it on the transaction log, meaning the mapping are still around on the index level.
2012-06-23 20:26:27 +02:00
Shay Banon
6fb836c25e better thread naming 2012-06-23 18:35:42 +02:00
Shay Banon
3163499aef Return 503 when threadpool limit is reached, closes #2048. 2012-06-23 17:26:50 +02:00
Shay Banon
efe85f322a better type based inference when using scripts 2012-06-23 17:25:02 +02:00
Shay Banon
df62e39d20 change index.store.compress.stored_fields setting to index.store.compress.stored 2012-06-22 20:08:23 +02:00
Shay Banon
ae77013004 Rest API: Add HEAD support for /{index}/{type}/{id} to quickly check if doc exists or not, closes #2047. 2012-06-22 19:32:38 +02:00
Shay Banon
ed71662275 add debug log if using compressed stored fields 2012-06-22 18:23:15 +02:00
Shay Banon
1780a2a067 Failure to recover properly on node(s) restart
When a node restarts, it might be canceling one recovery of a shard id only to get another one in the next cycle. We should detect this case and handle it properly.

This is a fix to the annoying message seen by users: suspect illegal state: trying to move shard from primary mode to replica mode.
2012-06-22 17:46:57 +02:00