Commit Graph

2707 Commits

Author SHA1 Message Date
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
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
Shay Banon 31ea01bbc6 Search API: REST endpoint should use default operation_threading of thread_per_shard, closes #1154. 2011-07-24 20:51:49 +03:00
Shay Banon 5ce42b337d Get API: Will always prefer first local execution, regardless of the preference, closes #1153. 2011-07-24 20:33:49 +03:00
Shay Banon b31f68a0eb Search / Broadcast concurrency bug can result in response corruption / errors, closes #1152. 2011-07-24 15:40:01 +03:00
kimchy 5e78f14f04 improve prefer local execution 2011-07-23 01:37:56 +03:00
kimchy 180f83828a abs the count with prefer local 2011-07-23 01:31:12 +03:00
kimchy 0feb1fd216 don't call clusterService again to get filtering aliases 2011-07-23 01:18:22 +03:00
kimchy ff1352f111 reduce visibility of some vars 2011-07-22 20:26:11 +03:00
kimchy 7de072b14e more small optimizations 2011-07-22 19:53:05 +03:00
kimchy 1c2f25dd0f no need to double abs, keep size as var to not call it each time 2011-07-22 19:30:08 +03:00
kimchy 8c9dffc235 optimize breaking strings based on commas, and small optimization to resolving routing values 2011-07-22 19:20:14 +03:00
kimchy 8c49da12ff Fail shard (recovery) allocation on a node when the index does not exists, closes #1148. 2011-07-22 06:58:33 +03:00
kimchy a7190ea8a3 File#mkdirs gets stuck, might be concurrency issue, closes #1147. 2011-07-22 02:08:11 +03:00
kimchy d4d227ba6b ignore empty state files stored 2011-07-21 22:11:14 +03:00
kimchy ba137df093 Reusing query parser in WrapperQueryParser produces invalid queries, closes #1143. 2011-07-21 20:21:28 +03:00
kimchy fbd6e85eac Query DSL: Allow to associate a custom cache key with a filter, closes #1142. 2011-07-21 11:51:13 +03:00
kimchy 91e050f885 Java API: BoostingQueryBuilder does not build the query correctly, closes #1141. 2011-07-21 09:18:17 +03:00
kimchy ed6a6e31d3 Query DSL: custom_filters_score, closes #1140. 2011-07-21 09:04:36 +03:00
kimchy d9cea9bd64 Scan Search: Take track_scores into account, if set, return also scores per doc when scanning, closes #1139. 2011-07-20 23:10:41 +03:00
kimchy c3124efe51 Analyze API: Failure to read full message over the wire, closes #1138. 2011-07-20 22:05:22 +03:00
kimchy 5bd4c16a0c rename field to setField, to match convention 2011-07-20 22:02:24 +03:00
kimchy 72f9183c13 rename field to setField, to match convention 2011-07-20 22:01:50 +03:00
kimchy 260c61266d even on failure, don't return a body for HEAD request 2011-07-20 20:58:08 +03:00
kimchy 0ed50ca00c NullPointerException for invalid faceted query, closes #1136. 2011-07-20 05:54:09 +03:00
kimchy c066b6ae4a Java client nodes using multicast discovery connect to one another, closes #1135. 2011-07-20 03:38:13 +03:00
kimchy cbb1c35f94 Network: Default (back) network.tcp.connect_timeout to 30s, closes #1134. 2011-07-20 00:37:32 +03:00
kimchy 5ccdd4d3d3 reduce connections per node med to 4 from 7 to reduce (default) connection overhead 2011-07-20 00:34:56 +03:00
kimchy c1dcea8a9e add debug logging to netty transport tcp config 2011-07-20 00:31:14 +03:00
kimchy 671db81992 add transport.connections_per_node prefix setting as well as the netty specific one 2011-07-20 00:01:04 +03:00
kimchy 04b8245d96 IndicesExistsRequest throws IndexMissingException, closes #1133. 2011-07-19 23:42:42 +03:00
kimchy c662972230 Realtime Get fails when using compression, closes #1131. 2011-07-19 22:01:50 +03:00
kimchy 9846a25380 change debug to trace 2011-07-19 20:11:04 +03:00
Nicolas Lalevée 65cefb6915 Add debug logging to trace search errors 2011-07-19 20:09:23 +03:00
Nicolas Lalevée bf071222ed fix the maxExpansion of a prefix query 2011-07-19 20:09:23 +03:00
kimchy 8f6de29580 mget doesn't work with aliases. closes #1130. 2011-07-19 19:58:25 +03:00
kimchy 8b7620f9de simplify policy and scheduler settings 2011-07-18 23:43:10 +03:00
kimchy a3c05a35bb grr, add an all trusting ssl handler when downloading plugin from github 2011-07-18 23:05:58 +03:00
kimchy d905e62209 grr, add an all trusting ssl handler when downloading plugin from github 2011-07-18 22:56:28 +03:00
kimchy 10660d390d allow to set specific routing index_routing and search_routing names as well 2011-07-18 22:15:22 +03:00
kimchy 04086985f4 Analysis: Phonetic filter `replace` flag is inverted, fix (changes default behavior now, to follow docs), closes #1127. 2011-07-18 21:29:29 +03:00
kimchy 09528610c1 cleanup some test code, rename internal masterDoc to rootDoc 2011-07-17 04:32:18 +03:00
kimchy defab5d948 no need ask for the first query rest twice 2011-07-17 03:58:05 +03:00
kimchy c28421b1ed upgrade to latest lzf trunk 2011-07-16 21:55:13 +03:00
kimchy 8bcfce2e26 Allow to configure node name using `node.name` (on top of current `name`), closes #1126. 2011-07-16 03:35:39 +03:00
kimchy 64054d4057 Nodes APIs: All node APIs to allow to match on nodes based on addresses, names, and attributes, closes #1125. 2011-07-16 03:27:35 +03:00
kimchy 2594828d48 better logging when receiving a ping response that does not match, print who we got it from 2011-07-15 20:22:34 +03:00
kimchy 845104dabc remove the jline flag and automatically detect it 2011-07-15 10:00:23 +03:00
kimchy f6beebf34c Add 'other_terms' option for terms facet, closes #1029. 2011-07-15 07:36:07 +03:00
kimchy e498dc3ba8 add many nodes stress test 2011-07-15 01:46:09 +03:00
kimchy 013fe473c8 allow to set 0 values for the connections sizes 2011-07-15 01:45:59 +03:00
kimchy 8532f433ce add an (internal) flag if to control if the shutdown request should cause the jvm to exit or not 2011-07-14 22:39:44 +03:00
kimchy 848638d53c Index / Delete API when causing auto index creation can cause buffer data overrun, closes #1122. 2011-07-14 03:04:58 +03:00
Austin McKinley e98860dc29 fixing bug when installing local plugins 2011-07-14 00:30:32 +03:00
kimchy bd85d32756 set 0 refresh interval for the test 2011-07-13 08:20:16 +03:00
kimchy 801c7e2483 fix spelling 2011-07-13 08:12:02 +03:00
kimchy c2584baf86 rename json query to wrapper query, and optimize it to not parse it twice, once on creation, and once on parsing to build lucene queries 2011-07-13 03:38:36 +03:00
kimchy cfc45b0ab9 make analyzer request just use field, and allow it to have type.field_name option (or just field name) 2011-07-13 03:15:36 +03:00
melix 8564c20378 Make AnalyzeRequest support field() and type() 2011-07-13 03:07:41 +03:00
melix b627ba06c6 Adds a JSONQueryBuilder which allows using a JSON query string through the Java builder API. 2011-07-13 03:07:40 +03:00
kimchy 1033249f0c Native (java) process memory leak, closes #1118. 2011-07-13 01:46:22 +03:00
kimchy fdbcec8a84 Node Stats: Add number of server open channels for transport and http, closes #1115. 2011-07-12 02:41:18 +03:00
kimchy c04be9d365 return on failure 2011-07-12 00:34:11 +03:00
kimchy 567cf6b5c3 search parse failure should return a 400 status code 2011-07-11 21:49:33 +03:00
kimchy 6be337e184 fix fugly failure message on put index template 2011-07-11 04:10:16 +03:00
kimchy b275e6f798 Closed indices should not cause block failures on some APIs what executing against _all indices, closes #1010. 2011-07-10 23:56:03 +03:00
kimchy 1acca2050c Allow to disable automatic date detection, closes #1051. 2011-07-10 23:44:41 +03:00
kimchy ced90891ab Allow to disable automatic date detection, closes #1051. 2011-07-10 23:41:52 +03:00
kimchy b17c2b09db Allow to disable automatic date detection, closes #1051. 2011-07-10 23:24:23 +03:00
kimchy 882ccf32c8 only use dfs data on main query executed 2011-07-10 23:05:09 +03:00
kimchy e489ad2221 better toString on transport future 2011-07-10 22:56:14 +03:00
kimchy 7ef41eefea Node Info / Stats: Add max_file_descriptors (info) and open_file_descriptors (stats), closes #1113. 2011-07-10 05:13:35 +03:00
kimchy 23a35a0809 add handling a failure of malformed scroll id, and throw back the scroll id itself for simpler debugging 2011-07-10 03:25:34 +03:00
kimchy ca97e19cde upgrade to latest jsr166y version 2011-07-10 02:16:58 +03:00
kimchy 9513dd0a4a fix nested filter to work well with inner nested queries 2011-07-09 22:10:58 +03:00
kimchy 66d5eb94fb fix new analysis components test, and make pattern require parameters 2011-07-08 22:28:26 +03:00
belevian 7e20a9f80a Analysis: expose Lucene PatternReplaceFilter. 2011-07-08 22:00:20 +03:00
belevian 888194e903 Analysis: expose Lucene MappingCharFilter. 2011-07-08 22:00:19 +03:00
kimchy 9464208f83 handle failure on interface check if its up (seems to happen on jdk 7) 2011-07-08 21:58:39 +03:00
kimchy 61ad8b614a TCP: Change the default connect timeout to 2s, closes #1104. 2011-07-08 08:36:47 +03:00
kimchy 893c7df966 add empty index test 2011-07-08 08:02:34 +03:00
kimchy 5a8b27b9dc small optimization to counting search shards 2011-07-08 06:04:33 +03:00
kimchy 0642acd9ac Uneven distribution of search requests across shards, closes 1103. 2011-07-08 05:32:59 +03:00
kimchy 9876fa5a76 improve failure message when not finding _uid field in the doc 2011-07-08 03:56:46 +03:00
kimchy 42edd0c864 Query DSL: nested filter support, closes #1102. 2011-07-08 03:03:09 +03:00
kimchy 9be62a06e9 support also ping.timeout in zen disco, and add it to the sample config 2011-07-08 02:03:09 +03:00
kimchy 6783b7fe18 more work on Improve cleanup of unused shards when index is completely relocated from (#1101) 2011-07-08 01:52:53 +03:00
Igor Motov 3a8f198a76 Improve cleanup of unused shards when index is completely relocated from a node 2011-07-08 01:14:34 +03:00
kimchy 21883716e5 change indices sig 2011-07-07 17:59:25 +03:00
kimchy 429335adf3 upgrade to log4j 1.2.16 2011-07-07 05:36:53 +03:00
kimchy a4c9f11b1c Nested Objects Facets Support, closes #1098. 2011-07-07 04:20:53 +03:00
kimchy 90209d8dff move things around a bit... 2011-07-07 01:38:17 +03:00
kimchy 420ed9daa6 upgrade to testng 6.1.1 2011-07-06 23:15:03 +03:00
kimchy 9ef34f82ea Mapping: non-string type field level boosting, closes #1097. 2011-07-06 22:35:29 +03:00
kimchy 4d3b623923 add include_in_parent and include_in_root explicit flags for nested cases 2011-07-06 21:27:19 +03:00
kimchy 6f7b462f1d java.lang.ArrayIndexOutOfBoundsException when indexing a doc, closes #1094. 2011-07-06 18:57:11 +03:00
Igor Motov c9d619ea4f Remove unnecessary refresh after delete 2011-07-06 17:56:50 +03:00
Lukáš Vlček 3a9613ecc7 Removed unused class 2011-07-06 17:55:37 +03:00
kimchy 3a7f7664b6 Nested Object/Docs Mapping and Searching, closes #1095. 2011-07-06 17:53:55 +03:00
kimchy 19031db447 NPE with mget, closes #1085. 2011-07-02 15:39:37 +03:00
kimchy 317d4f687f fail hashing when using null type or _all 2011-07-01 20:23:19 +03:00
kimchy 0b59c00e0d Upgrade to Lucene 3.3. closes #1083. 2011-07-01 18:30:06 +03:00
kimchy bac6240d17 improve clearing caches in guice 2011-07-01 13:32:23 +03:00
kimchy a8969cd672 Without pre-creating index, heavy write rates OOM with too many threads, closes #1081. 2011-06-30 21:22:21 +03:00
kimchy 4c913693a9 bite the bullet and add guice source, we don't need much from it, and will allow to optimize for our use case as well as remove the AOP support from it 2011-06-30 20:24:16 +03:00
kimchy e78e665273 Zen Discovery: Add `minimum_master_nodes` setting helping with split brains, closes #1079. 2011-06-30 17:02:29 +03:00
kimchy c31ee7d68d add xcontent builder settings option (though just calling builder#string() was always possible) to create index 2011-06-29 15:12:53 +03:00
kimchy 0bf1ed964e fix wrong routing table versioning when deleting an index 2011-06-29 14:51:32 +03:00
kimchy 4139bb5180 Misbehaving "missing" field in facet results, closes #1070. 2011-06-28 12:38:21 +03:00
kimchy f6ebee3785 allow to provide fields for multi get 2011-06-28 11:54:52 +03:00
kimchy 2e83a2f045 clean unused code 2011-06-28 11:37:52 +03:00
kimchy 73898067b8 format 2011-06-28 00:29:06 +03:00
Nicolas Lalevée 759d7d693d Support for highlighting of phrase prefix queries 2011-06-28 00:26:06 +03:00
kimchy ce6fbc687d upgrade to mvel 2.1 Beta5 2011-06-28 00:25:37 +03:00
kimchy 9bf686ef62 Multi GET API, closes #1068. 2011-06-27 22:23:49 +03:00
kimchy 475564449f properly take offset and length into account (introduced with realtime get) 2011-06-27 21:51:14 +03:00
kimchy f851279db1 delegate to the proper source method 2011-06-27 21:38:43 +03:00
kimchy cb0d89700c get shards should use preference as well when routing (fix wrong previous commit) 2011-06-26 23:07:40 +03:00
kimchy 0bbf71188c make broadcast action more extendable by refactoring out type/id 2011-06-26 16:33:44 +03:00
kimchy b670a7f2a3 Indices Segments API: Internal segments info of shard level Lucene indices, closes #1064. 2011-06-26 00:20:50 +03:00
kimchy 7acdda74f4 Transport Client: Adding more nodes causes more scheduled reconnect tasks, closes #1062. 2011-06-24 21:33:24 +03:00
kimchy e373bf09f2 upgrade to joda 1.6.2 2011-06-24 18:42:53 +03:00
kimchy 6521143a38 upgrade to mvel 2.1 Beta4 2011-06-24 18:27:09 +03:00
kimchy c884adf603 more get tests 2011-06-24 15:52:45 +03:00
kimchy 7ed5e9e79a Get API: Make type optional, closes #1061. 2011-06-24 13:43:37 +03:00
kimchy 89a46d1c87 filter out crappy gc reporting 2011-06-24 13:18:16 +03:00
Lukáš Vlček a9a80958ce commented out unused 2011-06-24 10:51:41 +03:00
Lukáš Vlček 2f9a1c7a6a Analysis: expose Lucene StemmerOverrideFilter. Closes #1053 2011-06-24 10:51:41 +03:00
Lukáš Vlček 5913e74286 Analysis: expose Lucene KeywordMarkerFilter. Closes #1052 2011-06-24 10:51:41 +03:00
Igor Motov bae67ca808 Fix NullPointerException when search request partially fails on one or more shards 2011-06-24 09:41:10 +03:00
kimchy 72ee0aaee7 Realtime GET, closes #1060. 2011-06-24 09:39:37 +03:00
kimchy 4547bc3ef4 upgrade to trove 3.0.0rc2 2011-06-20 00:11:28 +03:00
kimchy f3af1fd1d4 upgrade to jackson 1.8.2 (though with not real changes to us) 2011-06-19 20:58:56 +03:00
kimchy 35fa6d93ad Update Settings: Allow to change non dynamic settings on a closed index, closes #1048. 2011-06-19 17:15:05 +03:00
Igor Motov 8470e79aed Fix non-varargs call of varargs method with inexact argument type for last parameter exception warning 2011-06-19 10:10:35 +03:00
Igor Motov 4794345efb Remove unnecessary Thread.sleep calls after alias creation 2011-06-19 10:10:34 +03:00
Igor Motov ae5b963e97 Specify a unique cluster name for all Integration tests 2011-06-19 10:10:34 +03:00
kimchy 5540fbf7ab Delete API: Using refresh parameter might not refresh delete operation on replica, closes #1047. 2011-06-19 09:15:08 +03:00
kimchy 3e9dff8b7e add kstem also to the static shared token filters 2011-06-17 19:23:08 +03:00
Lukáš Vlček aefc3ab3e5 Closes #1041 2011-06-17 16:51:24 +02:00
Lukáš Vlček 44af2cda41 Adding Czech default stopwords into named stopwords map 2011-06-17 13:22:22 +02:00
kimchy dfed1b947e fix bench 2011-06-17 01:19:12 +03:00
kimchy 2e64edd4e7 Parent Child: complex parent child mapping (>2 hierarchy) might fail, closes #1039. 2011-06-17 01:03:34 +03:00
kimchy f5fbe0d66c River might not start properly after cluster shutdown (timing), closes #1038. 2011-06-16 14:04:50 +03:00
Paul_Loy e1514aa8e0 reverted adding IOException to NetworkService, return null if cannot resolve name and log 2011-06-15 22:03:16 +03:00
Paul_Loy 004f91dfc0 add throws IOException to CustomNameResolver interface 2011-06-15 22:03:15 +03:00