Commit Graph

2451 Commits

Author SHA1 Message Date
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
Shay Banon 146a6d3730 Minor(?) scripting bug(?): (caching-related?) odd behavior when changing languages for the same script code, closes #1150. 2011-07-30 15:13:02 +03:00
Shay Banon 8fb0163244 log failure when executing multi_get 2011-07-30 09:43:58 +03:00
Shay Banon 73adbdd4c3 Query DSL: Allow to control how all multi term queries are rewritten, closes #1186. 2011-07-30 00:36:40 +03:00
Shay Banon 06bcd4253b Analysis: 'truncate' token filter, closes #1165. 2011-07-29 23:36:02 +03:00
Shay Banon f4889dd846 Analysis: Unique token filter, closes #1185. 2011-07-29 22:45:26 +03:00
Shay Banon 7271a80b50 Stop Token Filter - enable_position_increments, closes #1182. 2011-07-29 21:31:48 +03:00
Shay Banon a09ed1468c Mapping: Renamed root object `date_formats` to `dynamic_date_formats` (old value still works), closes #1183. 2011-07-29 21:10:58 +03:00
Shay Banon f43bf307c8 Mapping: Root object non ISO date formats to support timezone, closes #1181. 2011-07-29 20:01:43 +03:00
Shay Banon 91f97bb7b6 When flushing, old transaction log is not removed, closes #1180. 2011-07-29 19:51:01 +03:00
Shay Banon 297a496998 More Like This API: Allow to provide `search_size` and `search_from`, closes #1179. 2011-07-29 10:45:57 +03:00
Shay Banon c0266a10d4 Search API: URI request allow to additional query_string parameters, closes #1178. 2011-07-29 09:48:09 +03:00
Shay Banon b07d9d56b4 HTTP: Disable automatic cookie parsing and resetting, allow to enable it, closes #1177. 2011-07-28 22:02:39 +03:00
Shay Banon 615fc435cc Http Transport: Allow to configure `max_header_size`, `max_initial_line_length`, and `max_chunk_size`, closes #1174. 2011-07-28 18:32:38 +03:00
Shay Banon 7e0182d882 add more info on failure to derive xcontent 2011-07-28 10:33:00 +03:00
Shay Banon 36e6102a1b move to trace level debugging when sigar fails to load 2011-07-27 18:25:52 +03:00
Shay Banon 02ba21dd70 Mapping: _default_ mapping type with root level date_formats can cause recursive addition of them to the mapping, closes #1168. 2011-07-27 11:42:11 +03:00
Shay Banon 8dff55c79e Get API: a get for a document that does not exists can cause open file handles leak, closes #1167. 2011-07-26 22:58:09 +03:00
Shay Banon cbde265ab8 improvement to string splitting caused fields= on get to return the source back, fix it and also optimize this case when using realtime get, closes #1164. 2011-07-26 17:12:34 +03:00
Shay Banon 47b0750171 improve lock logic when recovering to reduce chance of throwable slipping and causing no release of lock 2011-07-26 16:39:36 +03:00
Shay Banon 15b9e00888 optimize for empty string case 2011-07-26 16:37:04 +03:00
Shay Banon 6e8c7c41fe Index Settings: Add `index.recovery.initial_shards` controlling the number of shards to exists when using local gateway, closes #1163. 2011-07-26 11:46:13 +03:00
Shay Banon b70694ce63 Update Settings: Changing the number of replicas does cause allocation / deallocation of shards, closes #1162. 2011-07-26 11:16:13 +03:00
Shay Banon 68868c4d3f Local Gateway: Allow to set gateway.local.initial_shards to `quorum-1`, closes #1160. 2011-07-26 10:56:44 +03:00
Shay Banon cc1415e281 Add dfs test 2011-07-26 10:56:37 +03:00
Shay Banon 4695618c27 Unicast Discovery: Clusters under different cluster names can cause failed discovery, closes #1159. 2011-07-26 07:50:23 +03:00
Shay Banon bf3ebc715e Bulk API: _version on delete actions is not honored, closes #1156. 2011-07-26 07:35:26 +03:00
Shay Banon 9aa11f967a Improve peer recovery of index files to reduce chances of corruption, closes #1158. 2011-07-26 07:18:44 +03:00
Shay Banon 9df339f23b remove private so won't create access$ calls 2011-07-25 15:59:55 +03:00
Shay Banon 9d9fa53ba9 add explicit return when we are done (even though it does not affect anything) 2011-07-25 15:36:03 +03:00
Shay Banon 7bdae651c3 clean connected nodes when closing a client 2011-07-25 15:25:10 +03:00
Shay Banon 549e9c7019 optimize shard iteration logic 2011-07-25 12:48:24 +03:00