Commit Graph

1463 Commits

Author SHA1 Message Date
kimchy 789e1a343f failing to load plugins, return an empty map 2010-12-30 13:16:09 +02:00
kimchy 2e46add991 remove debugging dead code 2010-12-30 13:14:49 +02:00
kimchy 51277a9486 no need to check for shard if tis null, we know its not 2010-12-30 13:12:08 +02:00
kimchy c4646a2b55 use close helper method to close streams 2010-12-30 13:11:20 +02:00
kimchy 76d042f3c5 explicitly pass null values to methods where applicable 2010-12-30 13:09:11 +02:00
kimchy 5a45e9c8bd close stream if file not found (though a stream is not really opened in this case...) 2010-12-30 12:30:50 +02:00
kimchy 20b6e0bdde close stream if file not found (though a stream is not really opened in this case...) 2010-12-30 12:30:33 +02:00
kimchy 4f8b4b405c though not really needed (working on in memory byte array), close the stream opened 2010-12-30 12:27:46 +02:00
kimchy ed996c3e85 Non-data master nodes and non-master data nodes fail to store data, closes #579. 2010-12-30 12:10:40 +02:00
kimchy e3322836b5 make settings prefix simpler and not bail when not prefixed with org.elasticsearch, allow to provide settings prefix for analyzer provider 2010-12-29 19:12:38 +02:00
kimchy f73a5e62d3 improve error message 2010-12-29 18:55:37 +02:00
kimchy c7fca8f0e0 refactor terms facet into string terms facets, paving the way for optimized ones for numeric values 2010-12-29 18:34:08 +02:00
kimchy e764f41341 await closing sockets on shutdown 2010-12-29 12:49:37 +02:00
kimchy f993c4b72b start refactoring of facets to make them more pluggable 2010-12-29 12:49:02 +02:00
kimchy c8bfa455ad REST Create Index: Not taking JSON index settings into account unless wrapped in settings. 2010-12-29 12:10:51 +02:00
kimchy d8aef57baa add filter_cache_size to node stats 2010-12-28 16:57:55 +02:00
kimchy f908a73ec6 allow to construct transport client with settings builder 2010-12-27 20:11:28 +02:00
kimchy a84e0a49b7 change scope to _score 2010-12-27 19:19:17 +02:00
kimchy d73a459f1e when parent mapping is set, fix setting routing to required 2010-12-27 18:41:28 +02:00
kimchy d560ceabe4 use high transport type when sending the cluster state 2010-12-27 16:50:55 +02:00
kimchy 4245eb7395 add node level field cache size to node stats api 2010-12-26 12:18:15 +02:00
kimchy 5dcba8a38c revert back a stupid bug in setting compress to true always introduced in the last commit 2010-12-26 12:05:22 +02:00
kimchy 49deb80d03 when compression is enabled, use the compressed byte buffer to write it to the translog (less data to write), and handle recovery by being able to parse also compressed source 2010-12-24 01:09:15 +02:00
kimchy f2eae5b605 Memory Index Store: Separate to two buffer size types, and fix bugs, closes #577. 2010-12-23 23:21:32 +02:00
kimchy 22fa91efa0 add reconnection code between nodes that are not masters 2010-12-23 17:26:55 +02:00
kimchy f6afc01fe5 add reconnection code between nodes that are not masters 2010-12-23 17:26:32 +02:00
kimchy ff5990daec listener should be threaded 2010-12-23 17:24:23 +02:00
kimchy de7dd3c070 default to try and connect after network disconnection with fault detection 2010-12-23 16:51:09 +02:00
kimchy e313379ed5 only force shutdown on cached threadpool if its not the same as the execture service 2010-12-23 16:13:05 +02:00
kimchy 42e8567477 interrupt joining the cluster thread if shutting down 2010-12-23 16:11:43 +02:00
kimchy 5f25ae4f2f check if the scheduled thread pool is not terminated when trying to terminate it 2010-12-23 15:18:22 +02:00
kimchy 9f72a8d68b use cached thread pool for notifying on disconnections 2010-12-23 14:22:40 +02:00
kimchy 6dcc04b59c Transport: Increase the default transport.tcp.connect_timeout from 1s to 30s, also add `network.tcp.connect_timeout` to conform with other common network settings, closes #576. 2010-12-23 14:20:11 +02:00
kimchy 5c338b7af2 add message to connect transport failure exception 2010-12-23 13:05:39 +02:00
kimchy 5a58ed4274 when replacing a mapping, clear the aggregated mapping information and then readd it 2010-12-23 11:32:16 +02:00
kimchy 473c2fa8f4 add reason for state change logging in index shard, add debug logging on ignore recovery in when handling cluster change in indices cluster 2010-12-23 10:56:37 +02:00
kimchy 5ac42f2a4f Excessive mapping parsing when cluster state changes, closes #575. 2010-12-23 09:53:05 +02:00
kimchy f869951364 rename type method on MapperService to the more descriptive documentMapperWithAutoCreate 2010-12-23 08:43:17 +02:00
kimchy e0b2b4b4a6 add a warn when not using the custom FieldCache with eager reader based eviction 2010-12-23 07:58:43 +02:00
kimchy 800b7f39bd add toString to CompressedString to show when logging it 2010-12-23 07:45:04 +02:00
kimchy 3b30930460 improve logging when trying to delete unallocated shard, check first if deleting is required, and only then delete it 2010-12-23 07:37:49 +02:00
kimchy ac73334c87 make id cache an index component, so a new instance will be created per index 2010-12-22 14:21:59 +02:00
kimchy bb0d7190e9 make id cache an index component, so a new instance will be created per index 2010-12-22 14:21:31 +02:00
kimchy 1ee24ce60f add an option to provide an OutputStream to a builder, allowing to generate directly into a stream provided by the user 2010-12-22 13:26:29 +02:00
kimchy eef3a95fa6 move the query parser cache to be index level and not node level 2010-12-22 12:31:30 +02:00
kimchy 33339ae4b1 improve concurrency control in filter caching, reuse one if it was created already under concurrent request 2010-12-22 10:42:38 +02:00
kimchy d283c158d2 optimize for the more common case of single value facets when loading values 2010-12-22 09:04:35 +02:00
kimchy 59ee8493ce use public terms filter in all places 2010-12-21 23:43:05 +02:00
kimchy a1df3c637c improve logic of when to load fields from source, only if they actually have mappings, otherwise, ignore them (as was the previous behavior) 2010-12-21 13:02:15 +02:00
kimchy 3035254885 Search API: Allow to pass `&fields=` without any fields to cause only id and type to be returned, closes #572. 2010-12-21 12:01:51 +02:00