Commit Graph

2482 Commits

Author SHA1 Message Date
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
Shay Banon 3b987f9ee0 add a more complex test for peer recovery reuse 2011-08-12 14:58:06 +03:00
Shay Banon 016bcdfa3a also flush before optimize, just to optimize all the changes up until now 2011-08-12 13:01:11 +03:00
Shay Banon 8a69910465 Peer recovery process can sometimes not reuse the same index files allocated on a possible node, closes #1238. 2011-08-12 04:06:20 +03:00
Shay Banon fa19239d44 Updating `index.auto_expand_replicas` might not be applied correctly, closes #1237. 2011-08-12 02:21:47 +03:00
Shay Banon 001a6b0ff7 Failure to reduce geo distance sorting (class case exception), closes #1234. 2011-08-11 23:37:18 +03:00
Shay Banon bf51a4e5df Mapping: Allow to enable automatic numeric types detection new fields with a string value, closes #1233. 2011-08-11 23:11:08 +03:00
Shay Banon 3202af0dc1 when fixing #1229, we should also handle a case where the node is closing when connected from another node 2011-08-11 22:35:55 +03:00
Shay Banon a4339d6751 add getter for open file desc 2011-08-11 21:25:14 +03:00
Shay Banon 0d07d5b91f Improve how versioning are read to reduce (deleted) open file handles, closes #1230. 2011-08-11 12:25:56 +03:00
Shay Banon fc6e0dd037 Java API TransportClient can fail on remote node shutdown instead of retrying the next connected node under heavy load, closes #1229. 2011-08-11 11:31:59 +03:00
Shay Banon 0d755472d3 add bulk indexing stress test 2011-08-10 23:38:48 +03:00
Shay Banon d25c939b97 Failed shard recovery can cause shard data to be deleted (replicas will still work), closes #1227. 2011-08-10 20:29:24 +03:00
Shay Banon 80f9ea5bfe protected against cases where the channels are null and asking for stats 2011-08-10 17:34:21 +03:00
Shay Banon 745b8cbefe Full field paths not respected in sort parameters, closes #1226. 2011-08-10 16:52:10 +03:00
Shay Banon d06a7e9fe1 CouchDB River: Custom script does not convert the modified doc properly to be indexed, closes #1225. 2011-08-10 15:06:53 +03:00
Shay Banon 25c3e898fd improve unicast to have another try at pinging other nodes within the ping timeout span 2011-08-10 15:06:34 +03:00
Shay Banon 1c555679a1 small optimization when sorting based on count and same count entries requires sorting based on term 2011-08-09 19:45:15 +03:00
Shay Banon ee015f5829 when dynamically updating the shard indexing buffer size, ignore cases where it can't be updated because flushing is disabled 2011-08-09 19:22:47 +03:00
Shay Banon 56b11c5ff3 Scripts: arrays: ".multiValued" returns true even when ".values" fails, closes #1145. 2011-08-09 18:50:03 +03:00
Shay Banon 54880c576b don't wait for merges on full flush 2011-08-09 18:10:57 +03:00
Shay Banon 5aad9dd841 missing import 2011-08-09 17:22:16 +03:00
Jonathan R H Evans ace3b1feeb Added comment to explain MarginFragListBuilders relation to SimpleFragListBuilder 2011-08-09 17:17:40 +03:00
Jonathan Evans 77f873fdf1 Added access to highlight offset through java client, previously just through transport 2011-08-09 17:17:40 +03:00
Jonathan Evans cee29dedb2 Added highlight offset for highlighted terms in fragments 2011-08-09 17:17:40 +03:00
Shay Banon 19c47cdceb upgrade to jackson 1.8.5 2011-08-09 17:16:27 +03:00
Shay Banon acd6a1945e upgrade to mvel 2.1 Beta6 2011-08-09 16:52:59 +03:00
Shay Banon 7af84869fc Invalidate cache stats when clearing the cache, closes #1220. 2011-08-09 15:40:39 +03:00
Shay Banon 794a284093 Rare deadlock when introducing new mapping fields/objects, closes #1222. 2011-08-09 15:31:17 +03:00
Shay Banon f1e23067cd Stored fields with multiple values might not return in search request asking for them, closes #1208. 2011-08-04 22:34:33 +03:00
Shay Banon ca6cd2bbed add multi get stress 2011-08-04 15:13:08 +03:00
Shay Banon 1908639749 improve unicast discovery to use less resources by using dedicated thread pool capped with concurrent connects (defaults to 10) 2011-08-04 14:33:06 +03:00
Shay Banon cbb95dee17 better logging in case of state persistence failure 2011-08-04 12:09:21 +03:00
Shay Banon 1e6dbc5ff3 Queries: Optimize single clause boolean query, closes #1206. 2011-08-04 11:36:05 +03:00
Shay Banon d93bc02309 Query DSL: custom_filters_score - add score_mode to control filters matching scoring, closes #1205. 2011-08-04 03:31:14 +03:00
Shay Banon 4a886dbae1 Query DSL: custom_filters_score allow to associate boost on filter instead of script, closes #1204. 2011-08-04 02:51:33 +03:00
Shay Banon 9503126155 Rest API: Add an `X-Opaque-Id` header, to be returned in the response if exists in the request, closes #1202. 2011-08-03 19:40:25 +03:00
Shay Banon 318bdb91c6 amortize size based eviction on a scheduled task and not on each operation 2011-08-03 18:26:29 +03:00
Shay Banon 0f251bf6ea Cache Stats: Computing the filter stats using the default weighted filter cache is expensive, closes #1201. 2011-08-03 17:43:45 +03:00
Shay Banon b9387848cb Index Cache Stats / JVM Stats: Add a refresh_interval to control when it gets refreshed, closes #1200. 2011-08-03 17:11:00 +03:00
Shay Banon 4a0b010d02 Automatic index creation can still cause "index missing" failures, closes #1199. 2011-08-03 14:32:33 +03:00
Shay Banon 598370b6c7 Allow creation of empty docs, closes #1195. 2011-08-03 12:36:05 +03:00
Shay Banon 50ccb665a0 Delete By Query wrongly persisted to translog, closes #1198. 2011-08-03 11:30:01 +03:00
Shay Banon ff2a4ed783 Analysis: Add a `kstem` name option to `stemmer` token filter (on top of the default kstem option), closes #1196. 2011-08-02 23:30:57 +03:00
Shay Banon bf9d5a0613 add done flag to not continue to connect if we already finished the unicast ping 2011-08-02 16:42:41 +03:00
Shay Banon e44fb27db1 improve unicast discovery and try to reduce the number of connections made 2011-08-02 16:30:56 +03:00
Shay Banon 9e621afeb8 warn if mlockall is not working once enabled in settings (instead of debug logging), closes #1194. 2011-08-02 14:07:27 +03:00
Shay Banon 885c80f8e5 Unicast Discovery: When providing a comma separated list of addresses, trim them from whitespaces, closes #1193. 2011-08-02 13:42:38 +03:00
Shay Banon a0bbb5445a `highlight.fields` should accept field names with the full path, closes #1192. 2011-08-02 12:55:17 +03:00
Shay Banon a5a46b2349 make sure not to use cached stream when writing the metadata to shared gateway 2011-08-02 10:51:04 +03:00
Shay Banon b3233fc8f1 upgrade to netty 3.2.5 2011-08-02 10:33:57 +03:00
Shay Banon cb51d3c576 Sorting on _score in the URI format is reversed, closes #1191. 2011-08-02 03:08:48 +03:00
Shay Banon 2b777df21e add a note in the build regarding joda time 2 2011-08-02 00:16:52 +03:00
Shay Banon e059a7b37f Merge Policy type setting fails, closes #1190. 2011-08-01 23:10:52 +03:00
Shay Banon e329178e8e improve debug logging for loading latest metadata and state 2011-08-01 14:26:21 +03:00
Shay Banon 2afe7f80a1 Query DSL: ids filter/parse to automatically use types provided as part of the search, closes #1188. 2011-08-01 13:06:05 +03:00
Shay Banon c25d9a7842 github redirects from https to http 2011-08-01 09:12:58 +03:00
Shay Banon d3c0e250ec make text queries to use Query suffix in java API, deprecate the previous ones 2011-07-31 17:48:18 +03:00
Shay Banon 56b495534a don't use thread local to aggregate string terms facet 2011-07-31 14:40:17 +03:00
Shay Banon 5e8a021405 only add cross origin header if the request is coming from a browser 2011-07-30 23:44:27 +03:00
Shay Banon e6ee276926 add more info to logging failure 2011-07-30 23:13:36 +03:00
Shay Banon ca7cd21519 Failed to load uid from the index in match_all query with parent/child and _source disabled, closes #1149. 2011-07-30 22:29:06 +03:00