Commit Graph

2543 Commits

Author SHA1 Message Date
Shay Banon 9ff4a95ee4 allow to filter also by node _name and _id, make sure to reroute properly after cluster update settings 2011-09-09 13:09:08 +03:00
Benjamin Devèze fae6eaf690 add time value definition of ttl inside source 2011-09-09 11:35:15 +02:00
Shay Banon d00edfb165 better check for defaults on jline, only enable it if not on windows 2011-09-09 10:59:35 +03:00
Shay Banon 0fcb4e88d4 cleanup ttl support, make sure we close the service on node lifecycle, better settings names, and allow to provide the ttl as a time value 2011-09-09 01:21:05 +03:00
Benjamin Devèze 65aad2da1e add per doc ttl support 2011-09-09 00:03:40 +03:00
Shay Banon 5052282ab6 Cluster / Index level allocation filtering, closes #1311. 2011-09-08 14:29:08 +03:00
Shay Banon 4180a7f73a associate a DiscoveryNode instance with RoutingNode, so there is no need to look it up based on node id 2011-09-08 11:10:53 +03:00
Shay Banon 60933b0f1e reroute after setting cluster level settings 2011-09-08 10:54:07 +03:00
Shay Banon bcd4ef2823 custom nodes count 2011-09-07 20:38:48 +03:00
Shay Banon 60a73c475f dynamic settings validation to allow for simple match patterns 2011-09-06 22:01:25 +03:00
Shay Banon 6a78cc2b72 fix wrong removal of flag 2011-09-06 21:10:54 +03:00
Lukáš Vlček 3d09fdee27 adding method allowing default value 2011-09-06 20:28:06 +03:00
Shay Banon 17c285090f remove double setting clear 2011-09-06 20:13:06 +03:00
Jürgen Kartnaller d276809822 fix clear for FieldLookup values 2011-09-06 20:12:50 +03:00
Shay Banon 203564a5b0 externalize shard allocation decision to a separate module 2011-09-06 17:51:11 +03:00
Shay Banon d86c116273 extract logic of allocation to a separate module 2011-09-06 17:11:55 +03:00
Njal Karevoll 37f08ea8b8 Fix some typos:
hypennation_decompunder -> hyphenation_decompounder
only_longest_max -> only_longest_match
2011-09-06 15:23:48 +03:00
Shay Banon b653d149d1 Peer recovery: Allow to throttle recovery based on "size per sec", closes #1304. 2011-09-06 12:40:14 +03:00
Shay Banon 8ebbd1e7b9 Recovery Settings: Change settings (still support old settings) and allow for more dynamic settings, closes #1303. 2011-09-06 11:21:32 +03:00
Shay Banon 9f427010bf more to ABQ from LBQ is relevant places 2011-09-05 12:34:20 +03:00
Shay Banon dee1addc17 Indices / Node Stats: Shard level search stats, closes #1301. 2011-09-04 23:55:35 +03:00
Benjamin Devèze 8958e9fd4a fix bug in parent handling where the parsed parent value was not set in the SourceToParse 2011-09-04 17:35:23 +03:00
Shay Banon bcd7d97c58 only log async refresh / merge failure if the engine is not closed 2011-09-03 20:24:55 +03:00
Shay Banon ed99a51406 ifx possible NPE when asking for _parent without parent mapping 2011-09-02 12:58:20 +03:00
Shay Banon 63f2e84535 Negative total cpu time reported by the node stats REST API, closes #1297. 2011-09-02 10:13:26 +03:00
Shay Banon 8facdb2e3d Rapidly concurrent deleting/creating an index leaves index inconsistent, closes #1296. 2011-09-02 09:36:25 +03:00
Shay Banon a8baec6960 improve logging of failure when merging 2011-09-01 23:32:26 +03:00
Shay Banon d7943e8ebd fix some highlighting encoder issues 2011-09-01 22:14:47 +03:00
LocJayMP c0f8223a6c adding escape html ability 2011-09-01 21:50:49 +03:00
Shay Banon 2bc2b3f4e2 add percolate api to groovy client 2011-09-01 21:10:46 +03:00
Shay Banon b888684ff6 negative from parameter yields undescriptive error message, closes #1293. 2011-09-01 19:25:04 +03:00
Shay Banon 87049d0d29 initialize the transport adapter on creation so asking for stats will not NPE 2011-09-01 19:18:28 +03:00
Shay Banon 3ae40487b6 Using 57744018578214912 as an id can cause failure to route to the correct shard, closes #1294. 2011-09-01 18:33:44 +03:00
Shay Banon 10278f115e also add it as a parameter 2011-09-01 14:17:41 +03:00
Shay Banon ca020dac3f add specific get indices stats endpoints 2011-09-01 14:17:20 +03:00
Shay Banon cc051014d3 add optional queue_size to fixed thread pool, and reject_policy 2011-09-01 13:26:41 +03:00
Shay Banon d98ac9b6fc mark context processed in the correct place... 2011-09-01 10:53:46 +03:00
Shay Banon 6693b86982 more options when setting query/filter/facets in raw form using java api 2011-09-01 09:42:10 +03:00
Shay Banon 3381d77c14 more explicit places where we don't want to conversion to happen when transforming to xcontent 2011-09-01 01:34:27 +03:00
Shay Banon b185078554 Java API: ActionFuture#actionGet to automatically unwrap failures, closes #1292. 2011-09-01 00:10:15 +03:00
Shay Banon 3b9da384c3 add offset and length all the way to the source parsing level 2011-08-31 22:29:04 +03:00
Shay Banon bc1dd108d1 Java API: XContentFactory creation of XContentBuilder to always be "safe", closes #1291. 2011-08-31 21:10:50 +03:00
Benjamin Devèze d1d3340aa2 add path support for id field, fix issue 1245 2011-08-31 00:45:52 +03:00
Shay Banon 2d1a645231 ignore load failures on a closed reader 2011-08-31 00:19:04 +03:00
Shay Banon b3ef0a3d7f Support fetching _routing, _parent, _timestamp using realtime get when stored, closes #1289. 2011-08-30 22:35:16 +03:00
Shay Banon 6560a9ec7b bubble down a now concept from the initiating search node to all nodes executing search 2011-08-30 21:15:35 +03:00
Shay Banon 1add5ce566 Node / Indices Stats: Add get stats (including missing / exists), closes #1288. 2011-08-30 20:56:39 +03:00
Shay Banon 32b64fc9a3 externalize get logic into a shard level get service 2011-08-30 19:53:07 +03:00
Shay Banon a5aac3a5c8 cleanup/optimize metadata stage parsing and generalize it 2011-08-30 15:36:09 +03:00
Shay Banon e5e96a86a0 cleanup 2011-08-29 18:54:18 +03:00
acerb 56a2833de4 Performance improvement when creating a multi-value field cache 2011-08-29 18:03:45 +03:00
Shay Banon ba352e0dc6 cleanup timestamp work 2011-08-29 17:46:01 +03:00
Benjamin Devèze bb02f19f88 Add support for timestamp field 2011-08-28 14:54:03 +03:00
Shay Banon fe0a1d424d Multi Get: Allow to specify fields to fetch in the URI, and apply it automatically to all docs to get without explicit fields, closes #1281. 2011-08-26 17:42:22 +03:00
Shay Banon 58bfe5d86f Tiered merge policy setting: `max_merge_segment` misnamed and should me `max_merged_segment`, closes #1280. 2011-08-26 17:17:26 +03:00
Shay Banon d48542a979 Node Stats: Certain indices level stats to retain stats even when shard relocates, closes #1276. 2011-08-25 20:20:14 +03:00
Shay Banon ee585ad96c change executor to be management and not cached for stats/status/info APIs 2011-08-25 12:28:26 +03:00
Shay Banon f9ae132c72 improve tests execution time 2011-08-24 22:00:27 +03:00
Shay Banon 306b3939cf fix stats action registration 2011-08-24 20:57:48 +03:00
Benjamin Devèze 264efe5478 Fix small bug in routing parsing 2011-08-24 19:57:12 +03:00
Shay Banon 591c91a9a9 add specific indexing stats REST endport 2011-08-24 18:23:27 +03:00
Shay Banon 80062fbe10 Indices Stats API + indexing statistics, closes #1273. 2011-08-24 11:24:52 +03:00
Shay Banon bb9bcf6a1e debug log failure to find local host 2011-08-22 11:02:10 +03:00
Shay Banon f4a36a2d87 add size and docs to merge stats 2011-08-21 05:16:26 +03:00
Shay Banon 67e161f710 add flush stats 2011-08-21 04:54:27 +03:00
Shay Banon 6fd6965bdf add refresh stats to node indices stats section 2011-08-21 01:10:51 +03:00
Shay Banon 0549e9d1c2 create simple metrics aggregator classes, and use them where applicable in the code, abstracting away the actual aggregation method (and use jsr166e long addr) 2011-08-21 00:12:36 +03:00
Shay Banon e67427d4af add a new version of jsr166y, and add jsr166e 2011-08-20 21:52:52 +03:00
Shay Banon 6afbfad089 Enhance transport stats to include rx and tx counters, closes #1254. 2011-08-20 21:37:37 +03:00
Shay Banon ef47308ead allow to change indices.cache.filter.size setting through cluster update settings api 2011-08-20 17:12:58 +03:00
Shay Banon 6e81fbc30d rename cluster settings service to node settings service, as it better reflects the fact that settings are applied on the node level 2011-08-20 16:58:39 +03:00
Shay Banon 03217c460a Cluster Update Settings API, closes #1266. 2011-08-20 04:00:41 +03:00
Shay Banon a83c45be22 Java Logging: Automatically default to log4j before slf4j logging if log4j in the classpath, closes #1265. 2011-08-20 03:27:29 +03:00
Shay Banon 779dc4309b Geo: Automatically normalize lat/lon on search components, closes #1264. 2011-08-19 20:19:54 +03:00
Shay Banon ec6fa83856 index: no should also disable include_in_all, closes #1087. 2011-08-19 19:51:39 +03:00
Shay Banon 0f0b41e4fa fix bound normalization 2011-08-19 16:28:55 +03:00
Shay Banon 7c150a5059 Geo Type Mapping: Add normalize flag (default to true), and default validate to true, closes #1262. 2011-08-19 07:24:43 +03:00
Shay Banon 7a4fca2c1a Geo Distance Filter Bounding Box Optimization, closes #1261. 2011-08-19 07:07:02 +03:00
Shay Banon 4bacebe860 optimize distance based based calcs by reusing source location computation 2011-08-19 04:25:36 +03:00
Shay Banon d371619dd8 add an option to just compute distance factor 2011-08-19 03:21:46 +03:00
Shay Banon fcaa0e3261 Query Parser caching does not take parsed query rewrite method into account, closes #1260. 2011-08-19 01:57:12 +03:00
Shay Banon 5fa072263d more work on simplifying mapper parsing code 2011-08-19 01:34:22 +03:00
Shay Banon 8d2123a452 dynamic templates might cause elasticsearch to keep resync mappings, closes #1257. 2011-08-18 21:13:15 +03:00
Nicolas Lalevée 741b8dd70b fix highlight score ordering for a field 2011-08-18 20:29:20 +03:00
Shay Banon a9bc775213 more refactoring to generalize root level field mappers 2011-08-18 04:55:57 +03:00
Shay Banon 821c3524a2 more refactoring to generalize root level field mappers 2011-08-18 00:57:53 +03:00
Shay Banon 4395202ebc simplify a bit doc mapper parsing to make it more generic 2011-08-17 18:08:39 +03:00
Shay Banon 8a7b20597d Geo Type Mapping: Add validation options to validate lat and lon values, closes #1252. 2011-08-17 05:54:57 +03:00
Shay Banon 55f62eca8a use static classes for docsets instead of inner classes to make sure we don't rely on hotspot to inline field lookups 2011-08-17 04:20:43 +03:00
Shay Banon 451c87f486 Update Settings: Allow to dynamically set index.gc_deletes setting, closes #1251. 2011-08-17 02:58:55 +03:00
Shay Banon 20ff04f715 Start Elastic Node without network link, closes #842. 2011-08-17 02:55:17 +03:00
Shay Banon be7d3b609f Single node rolling restart into a new node can cause metadata loss, closes #1249. 2011-08-16 17:18:30 +03:00
Shay Banon da56a4d332 Tiered merge policy: Change the default max_merge_segment from 5gb to 20gb, closes #1247. 2011-08-15 21:36:32 +03:00
Shay Banon af4b6a1d49 move to the latest 0.8.4 lzf compress 2011-08-15 18:45:21 +03:00
Shay Banon 11bdad1338 wrong method signature: RangeFilterBuilder and NumericRangeFilterBuilder, closes #1244. 2011-08-15 00:06:26 +03:00
Shay Banon d92dc36213 improve index and shard creation failure messages 2011-08-14 14:51:20 +03:00
Shay Banon b0caf0d761 externalize all checks for checksum file to a util method 2011-08-14 02:19:17 +03:00
Shay Banon b3d1525e41 return the query builder for chaining 2011-08-13 22:36:11 +03:00
Benjamin Devèze 32fcd91e2b Fix copy-pasted javadoc error 2011-08-13 16:09:24 +03:00
Shay Banon 252ba57703 Date detection for `YYYY/MM/dd` or `YYYY/MM/dd HH:mm:ss` without timezones now broken, closes #1241. 2011-08-13 13:08:12 +03:00