Commit Graph

317 Commits

Author SHA1 Message Date
Peter 30dbb0773f do not delete data on remove 2012-02-08 08:43:39 +01:00
Shay Banon 23ca0d2cb2 add also the interval that was checked for plain gc 2012-02-08 00:38:00 +02:00
Shay Banon c75f8fc18a GC logging: Enable back automatic gc logging based on thresholds (even if last gc is not available), closes #1679. 2012-02-08 00:35:28 +02:00
Shay Banon 49fd3ff470 automatically enable last GC if higher or equal to 1.7.0 u4 2012-02-07 23:16:23 +02:00
Shay Banon c9107889a0 allow to enable last GC since in upcoming 1.7.0u4 the memory leak is fixed 2012-02-07 22:56:59 +02:00
Shay Banon 2ab3f533fe Index API: Don't wait for new mappings to be applied on the cluster by default, closes #1677. 2012-02-07 21:51:18 +02:00
Shay Banon 636c4ae8fa Nodes Info API: Add `all` flag to return all data, closes #1676. 2012-02-07 19:19:33 +02:00
Shay Banon a89878ce6c move to 0.19.0.RC2 snap 2012-02-07 15:17:09 +02:00
Shay Banon b160ddbb2c release 0.19.0.RC1 2012-02-07 15:02:42 +02:00
Shay Banon 768a23e0cb Node Stats: Add more options to get specific stats in REST: /_nodes/fs/stats (in addition to /_nodes/stats/fs), closes #1674. 2012-02-07 00:37:59 +02:00
Shay Banon abfc570762 better comment 2012-02-06 21:24:37 +02:00
Shay Banon f3a5306cde improve comment on usage, also, FrameDecoder usage of cumalation was fixed 2012-02-06 21:03:12 +02:00
Shay Banon 5c4c319a41 move to constant fields names 2012-02-06 03:33:22 +02:00
Shay Banon 7df2819549 move to constant fields names 2012-02-06 00:49:46 +02:00
Shay Banon 2a4ebca0be move to constant fields names 2012-02-06 00:28:31 +02:00
Shay Banon e8a0ccc20c Thread Pool: Add a specific thread pool for bulk indexing operations, closes #1668. 2012-02-05 20:12:41 +02:00
Shay Banon 437eda6b5b Network: Allow to specify sub interfaces (virtual) in network configuration, closes #1667. 2012-02-05 19:06:50 +02:00
Shay Banon 44a6040293 Jmx: Only register JMX beans when jmx.create_connector is set to `true`, or explicitly set by setting `jmx.export` to true, closes #1666. 2012-02-05 18:52:56 +02:00
Shay Banon 80607dd7c3 remove unused variable 2012-02-05 18:06:01 +02:00
Shay Banon 1c2fa366c9 Node Stats: JVM stats to provide memory pools allocations, closes #1665. 2012-02-05 17:46:58 +02:00
Shay Banon 3cee291bc2 Index / Delete API: timeout should apply automatically to the auto create index API master timeout, closes #1664. 2012-02-05 13:45:32 +02:00
Shay Banon 5b62c2ae26 Query DSL: query_string/field/text do not fail when an invalid analyzer is provided, closes #1663. 2012-02-05 13:06:58 +02:00
Shay Banon 6c406d0e0e Indices / Nodes stats: All `all` flag to easily return all stats, closes #1662. 2012-02-05 12:04:13 +02:00
Shay Banon 1aca5861b9 checking on index metadata does not make sense for mappings... 2012-02-03 16:19:04 +02:00
Shay Banon 3ba2dfe9ca revert back applying mapping changes on index changes 2012-02-03 16:11:58 +02:00
Shay Banon e06de6b24c only check if settings need to change or mappings need to be checked if the index metadata has actually changed 2012-02-03 14:20:42 +02:00
Shay Banon 68f838a488 fs flag should be properly serialized in node stats 2012-02-03 10:01:07 +02:00
Shay Banon 445bed4358 fix wrong name 2012-02-02 21:02:42 +02:00
Shay Banon a6a3e0039d return 403 when thread pool is overloaded and can't add a request to the queue 2012-02-02 20:47:06 +02:00
Shay Banon 81e6ff5162 Allow for plugins to register REST filter (better support with async execution and some renaming), closes #1658. 2012-02-02 20:19:15 +02:00
Shay Banon a784f9fcdf add a note on the rest pre processor 2012-02-02 13:47:59 +02:00
Shay Banon 43af5041c3 Allow for plugins to register REST pre processor, closes #1658. 2012-02-02 13:26:12 +02:00
Shay Banon 07ba39740b use non deprecated methods 2012-02-02 12:45:20 +02:00
Shay Banon 5a1cbe0c83 Query: Add `index.query.default_field` allowing to control the default field used to search on, closes #1657. 2012-02-02 00:49:34 +02:00
Shay Banon 8b9c75cd7e when executing on local node, don't reset the shard iterator, its null... 2012-02-02 00:35:51 +02:00
Shay Banon 3698bcc2b9 better logging of recovery 2012-02-02 00:18:17 +02:00
Shay Banon a5838dc403 improve test, wait for green state post master node startup 2012-02-01 21:17:45 +02:00
Shay Banon 83e561d19f only update new versioned index or new indices when a new cluster state is received 2012-02-01 21:17:07 +02:00
Shay Banon aa63811b14 improve sycn on translog to happen on the snapshot thread instead of the schedule thread 2012-02-01 13:05:21 +02:00
Shay Banon 70bf0a301b have version implement serializable to DiscoveryNode can be serialized 2012-02-01 11:52:57 +02:00
Shay Banon e37b6ec2b7 improve text query to use term factory 2012-02-01 11:49:47 +02:00
Shay Banon e0508809cb new local gateway should only load state if its data (for shards state) or master (for metadata) and not try and load if its not (so we don't load if its a client node) 2012-02-01 00:29:49 +02:00
Shay Banon 211176d10e when no specific internal source builder is constructed, don't set it, so setting raw source will not get override 2012-01-31 19:37:05 +02:00
Shay Banon d4b6753d93 add a marker class to keep frame decoder around 2012-01-31 15:04:55 +02:00
Shay Banon eb4f6709d9 Transport Client: Improve remote node freeze handling by adding another timeout layer, closes #1653. 2012-01-30 22:39:54 +02:00
Shay Banon 9194d36a64 improve compressed string construction, allow to construct it from utf8 bytes and use it where applicable 2012-01-30 21:23:15 +02:00
Shay Banon 639a03fbe0 optimize bool filter for single must clause or single should clause 2012-01-30 17:11:45 +02:00
Shay Banon 06da379f50 simplify check if there is explicit type name and doc mapper in the field to be used 2012-01-30 02:19:31 +02:00
Shay Banon f6deb45970 Cluster Allocation: cluster.routing.allocation.allow_rebalance does not allow for rebalancing on relocating shard, closes #1651. 2012-01-30 01:58:51 +02:00
Shay Banon 70c334ec01 Index Allocation: allow to specify maximum total number of shards per node, closes #1650. 2012-01-30 01:43:18 +02:00
Shay Banon 8e6b171205 remove test sysout 2012-01-29 22:52:52 +02:00
Shay Banon 25763e2124 Query DSL: prefix query to support _id, closes #1648. (fix support analysis for prefix is configured) 2012-01-29 22:05:16 +02:00
Shay Banon 49b6d70dfd Query DSL: prefix query to support _id, closes #1648. 2012-01-29 21:09:11 +02:00
Shay Banon b2a3332698 Terms Facet sorting does not handle null values properly with new JDK 7 sorting, closes #1647. 2012-01-29 18:17:37 +02:00
Shay Banon bb6fb6e083 improve test to wait for 2 nodes 2012-01-28 00:26:53 +02:00
Shay Banon 0922b5e80c improve type based query when using ids (or term on _id) perf 2012-01-28 00:25:26 +02:00
Shay Banon 293a971ea6 Better failure when passing invalid options to a query/filter, closes #1640. 2012-01-26 13:53:37 +02:00
Shay Banon da433df217 Mapping: _source mapping to allow for format to convert to (if needed), closes #1639. 2012-01-26 00:18:46 +02:00
Shay Banon 7d757a2c2e current search context is only needed in case of script 2012-01-25 13:03:18 +02:00
Shay Banon 68bb5d1434 by default, index metadata to be stored in smile format and store binary format mapping and alias filter to improve the cost it takes to persist them 2012-01-25 11:58:29 +02:00
Shay Banon 01d8305af3 better failure message when failing to load settings 2012-01-24 19:52:04 +02:00
Shay Banon 68a0dca577 add the version the index was created with (as a setting) to support better upgrade in the future between versions 2012-01-24 13:28:15 +02:00
Shay Banon c1a2a5c910 close the multicast socket in test 2012-01-24 13:10:38 +02:00
Shay Banon e0f9f292ec better logging (port number) when failing to bind 2012-01-24 13:08:16 +02:00
Shay Banon b2aae7f3a0 better failure message when no master found (how long we waited for it) 2012-01-24 13:07:58 +02:00
Shay Banon 7bcee7660a better failure message when no master found (how long we waited for it) 2012-01-24 12:56:47 +02:00
Shay Banon 30b8823e3d allow for plugins to set shards allocator 2012-01-23 22:50:03 +02:00
Shay Banon 7625f647ae also store the fact that a shard is primary or not in the shard state 2012-01-23 21:58:28 +02:00
Shay Banon 50aad23fac also store the fact that a shard is primary or not in the shard state 2012-01-23 21:57:39 +02:00
Shay Banon 9d99c54e2c _open and _close does not resolve aliases, closes #1628. 2012-01-23 02:04:57 +02:00
Shay Banon 1b7d329307 add a local gateway test to make sure we recover also latest state when updating index metadata and templates 2012-01-23 00:50:32 +02:00
Shay Banon f320cf4509 REST: `/` to properly return error code (HEAD and GET) when blocked (not recovered, no master), as well as cluster health (red == 503), closes #1633. 2012-01-22 23:57:02 +02:00
Shay Banon 942b427940 Local Gateway: Store specific index metadata under dedicated index locations, closes #1631. 2012-01-22 23:34:34 +02:00
Shay Banon 203c25739c Merge branch 'ttl-mapping-update' of https://github.com/Paikan/elasticsearch 2012-01-19 16:17:38 +02:00
Shay Banon a1a30226ca Removing a node with TRACE logging enabled causes cluster state not to be properly updated, closes #1626. 2012-01-19 15:42:23 +02:00
Benjamin Devèze 1b260af67a updatable default TTL in mapping 2012-01-18 23:53:02 +01:00
Shay Banon 2eeb609353 Thread Pool: Add a dedicated thread pool for refresh, closes #1624. 2012-01-19 00:22:27 +02:00
Shay Banon d95783b158 index.recovery.initial_shards is not being taken into account, closes #1623. 2012-01-18 23:02:13 +02:00
Shay Banon 5beb656a16 have terms filter builder support iterables as well 2012-01-18 21:34:33 +02:00
Shay Banon 5325bf4bec allow plugins to provide actual Module instances, not just classes to create the modules from 2012-01-18 21:18:29 +02:00
Shay Banon 0a3c941947 Node Stats: Add fs level stats (size + iostats), closes #1622. 2012-01-18 21:00:09 +02:00
Shay Banon 64358948ef Failure exception while executing a valid query after an invalid query, closes #1617. 2012-01-18 15:08:37 +02:00
Shay Banon 534f487de3 Local Gateway: Move shard state to be stored under each shard, and not globally under _state, closes #1618. 2012-01-18 01:08:35 +02:00
Shay Banon 801c709b42 test with local gateway 2012-01-18 01:02:55 +02:00
Shay Banon c2ef91afe6 better logging when failing to load field data to memory due to OOM 2012-01-17 12:58:30 +02:00
Shay Banon 7121138803 Merge branch 'fix-ttl-default' of https://github.com/Paikan/elasticsearch 2012-01-17 12:54:15 +02:00
Shay Banon 0d2d0936a7 support one, and all, all-1 for index.recovery.initial_shards 2012-01-17 11:47:21 +02:00
Benjamin Devèze 0810808864 fix bug in TTL handling where default TTL value was not set properly 2012-01-17 10:35:16 +01:00
Shay Banon 56a9c66df1 improve a bit the speed of adding new fields as part of mapping change / parse 2012-01-16 21:09:07 +02:00
Shay Banon bddea09170 /_status doc count of index wrong, closes #1615. 2012-01-16 13:48:31 +02:00
Shay Banon 1f5a74a91a lucene 3.5 verison 2012-01-16 13:40:49 +02:00
Shay Banon 21405f5aa4 Highlighting: Add boundary_chars and boundary_max_size to control text boundaries with fast vector highlighter (term vector), closes #1614. 2012-01-15 23:05:34 +02:00
Shay Banon 9bdef666cb Plugin loading broken, closes #1610. 2012-01-15 17:20:14 +02:00
Shay Banon 1d35e27b3b Plugins: Allow for plugins to implement onModule method that will be automatically injected with the relevant module type, closes #1613. 2012-01-15 16:42:29 +02:00
Shay Banon e37c0904f0 Add generic execution of APIs to Client (and indices/cluster) and allow for plugins to register custom APIs, closes #1612. 2012-01-15 16:15:09 +02:00
Shay Banon 8ee6ee05cd Java API: Move all request builders to org.elasticsearch.action... from org.elasticsearch.client.action, closes #1611. 2012-01-15 12:44:50 +02:00
Shay Banon c3c5aec567 rename RequestBuilder to ActionRequestBuilder and have a request() method on the actual interface 2012-01-15 12:14:57 +02:00
Shay Banon 6ff15b928c rename Actions to ValidateActions 2012-01-15 12:09:18 +02:00
Shay Banon 864c2ac96d remove Action interface and rename BaseAction to TransportAction (all transport level actions should extend it) 2012-01-15 01:08:39 +02:00
Benjamin Devèze 4b21cf2993 add percolation support to update action 2012-01-14 18:22:23 +01:00