Commit Graph

592 Commits

Author SHA1 Message Date
kimchy a9cac052ec remove using deprecated method 2010-05-13 17:00:16 +03:00
kimchy 6a20ca562c more hardening of cleaning out buffers in case of failure 2010-05-13 16:52:59 +03:00
kimchy d2bc6ace83 when restarting, the latest cluster state should be cleared 2010-05-13 15:39:55 +03:00
kimchy e87a4117b6 expose settings builder in the node builder API 2010-05-13 15:17:49 +03:00
kimchy f6777f1e03 jarjar netty as well, so it won't be exposed to users using elasticsearch embedded 2010-05-13 14:41:50 +03:00
kimchy 7ba1ad2d7b create shard count request with the actual count request 2010-05-13 09:13:21 +03:00
kimchy b0dd31e600 better delete by query request serialization handling 2010-05-13 09:02:59 +03:00
kimchy 0e163e3649 better delete by query request serialization handling 2010-05-13 09:00:25 +03:00
kimchy e35d67afd7 better index request serialization handling 2010-05-13 08:43:09 +03:00
kimchy 4d6f2d56f0 Transport: A failure to handle a response might cause the transport to stop working, closes #170. 2010-05-12 21:59:58 +03:00
kimchy a11c7beef8 add debug logging 2010-05-12 17:27:50 +03:00
kimchy 5b8dac3dd7 fix typos 2010-05-12 16:57:31 +03:00
kimchy 88badbd52f fix javadoc 2010-05-12 16:50:01 +03:00
kimchy 7edb3f8d54 nicer code 2010-05-12 16:48:22 +03:00
kimchy 02c8706c33 better log message 2010-05-12 15:52:01 +03:00
kimchy eaa32f28b3 reset the master ping counter when we get a proper response 2010-05-12 15:50:15 +03:00
kimchy a0b25ec4c3 abstract non blocking hashset 2010-05-12 04:06:44 +03:00
kimchy f6509930c7 upgrade to netty 3.2.0 CR1 2010-05-12 04:03:20 +03:00
kimchy fdf6eb9cb2 Mapper: Date format - allow for multiple formats using '||' separator, closes #169. 2010-05-12 03:32:21 +03:00
kimchy 8df704e605 allow for json and xson to be parsed in content type 2010-05-11 22:40:02 +03:00
kimchy 7c53ef1084 use offset when detecting xcontent type 2010-05-11 22:38:00 +03:00
kimchy 040030dac8 reafctor inject to util from util.guice 2010-05-10 01:34:22 +03:00
kimchy 7721b86995 don't let guice by mistake inject two instances 2010-05-10 01:15:08 +03:00
kimchy 35c8774304 start work on a more scalable thread pool, expose its status over jmx 2010-05-10 01:13:16 +03:00
kimchy 7fe5243517 share cached bytes 2010-05-09 20:11:54 +03:00
kimchy 3e405c3ec7 Nodes Stats API, closes #165, 2010-05-09 09:59:43 +03:00
kimchy 39cb08fc1c abstract using non blocking long map into an interface, with an implementation of juc CHM as well 2010-05-09 07:14:02 +03:00
kimchy 462d426c53 expose more information using the node info api 2010-05-08 23:01:38 +03:00
kimchy 6424d02be8 more work on plugin script 2010-05-08 21:18:00 +03:00
kimchy 9872b4977d cache data stored in http 2010-05-08 03:34:31 +03:00
kimchy 31d226188f REST API: Allow to provide `case` parameter, with `camelCase` to return results in CamelCasing, closes #162. 2010-05-08 00:01:36 +03:00
kimchy e222d38b84 more work on monitoring support 2010-05-07 22:49:36 +03:00
kimchy 4ed93d20f6 more work on monitoring support 2010-05-07 19:16:08 +03:00
kimchy c05e2ad1f1 Query DSL: Custom Boost Factory Query, closes #161. 2010-05-07 01:45:30 +03:00
kimchy b54f6b77de add os level stats and info (still some more info left...) 2010-05-06 23:46:53 +03:00
kimchy 371bfebd16 initial support for process monitoring using sigar 2010-05-06 21:07:24 +03:00
kimchy 5603c4d09c add the ability to control the content type the map will serialize under 2010-05-06 15:50:35 +03:00
kimchy 2605bf7e89 add unicast ping test 2010-05-06 09:21:56 +03:00
kimchy 66f011ae76 allow to filter out settings from REST serivces 2010-05-06 09:06:32 +03:00
kimchy db4afc8750 Mapper: Object mapper default 'date_formats' to also support 'yyyy/MM/dd HH:mm:ss' and 'yyyy/MM/dd', closes #159. 2010-05-05 19:45:54 +03:00
kimchy 71d4f1ce7a seems like jackson does not support this feature yet... 2010-05-05 17:54:03 +03:00
kimchy 5b5a95ea77 better implemenation of InputStream by different StreamInput 2010-05-05 10:24:36 +03:00
kimchy 5b231c68f8 move to use LinkedBlockingQueue instead of LinkedTransferQueue so we eagerly clear memory when a new translog is created 2010-05-05 01:17:46 +03:00
kimchy 4ead4f5855 fix failed compilation 2010-05-05 00:34:59 +03:00
kimchy 8053237643 move from gcommon package 2010-05-04 16:02:26 +03:00
kimchy 24ccd73c5d add '/' to auto detection of dates 2010-05-04 15:26:59 +03:00
kimchy 7d9f55309e cloud gateway implemenation working against s3 2010-05-04 14:02:36 +03:00
kimchy aae4e4ab61 if not deleting an index, don't delete the gateway data... 2010-05-03 18:11:19 +03:00
kimchy 7564453fcb add map conversion for Date types 2010-05-03 17:57:10 +03:00
kimchy 3ba4370477 verify that parsing works for dates with slash 2010-05-03 16:51:15 +03:00
kimchy b0e1c58474 Add online plugin repository and a 'plugin' command to download them, closes #157 2010-05-03 10:49:50 +03:00
kimchy 2d20ba0b42 make resolving of "logical" (#...#) hosts pluggable (so we can later support something like #cloud:privateip# 2010-05-03 00:50:44 +03:00
kimchy 0fcc9a43c5 make netty required in the maven pom 2010-05-02 23:34:45 +03:00
kimchy 9651789870 jarjar snakeyaml and remove it from our sources now that it is in maven repo 2010-05-02 18:01:58 +03:00
kimchy fc30467b72 add jclouds logger 2010-05-02 17:23:59 +03:00
kimchy b7bcc6ccb6 release search context after the caller listener is invoked 2010-05-02 14:22:59 +03:00
kimchy 1323fe8b5e minor restructering of plugins, create the cloud plugin 2010-05-02 01:28:28 +03:00
kimchy d0a6342360 don't hang the main thread, keep a different, non daemon thread alive till we shutdown 2010-05-01 03:10:47 +03:00
kimchy 5d8d2cf4f9 don't hang the main thread, keep a different, non daemon thread alive till we shutdown 2010-05-01 03:09:44 +03:00
kimchy ebded19dc1 Restart API: Allow to restart one or more nodes, closes #155. 2010-05-01 03:00:06 +03:00
kimchy 97958c3a66 Service Wrapper: A Java Service Wrapper integration, closes #154. 2010-05-01 01:42:30 +03:00
kimchy 69df71d2e3 jarjar jackson and joda 2010-04-30 19:00:40 +03:00
kimchy 70a2a3ef52 jarjar jackson and joda 2010-04-30 19:00:17 +03:00
kimchy 57071d7ad4 relax the ThreadPool interface 2010-04-30 03:05:11 +03:00
kimchy 650eb19622 better auto identification of xson content 2010-04-30 02:47:27 +03:00
kimchy 976749e0a1 update jmeter load scripts 2010-04-30 01:49:00 +03:00
kimchy 30aae506f3 Time Memory Leak: Search requests don't eagerly clean the search context, closes #153. 2010-04-30 01:48:35 +03:00
kimchy ceb0138aa8 better handling of source return value based on content type (embed it if its the same content type) 2010-04-30 00:08:33 +03:00
kimchy 34d99c39a5 XContent - An abstraction on top of content (JSON inspired), closes #152. 2010-04-29 23:10:47 +03:00
kimchy f8f65c991a finalize abstracting json into xcontent 2010-04-29 02:11:53 +03:00
kimchy 9cb05060d3 continue abstracting json into xcontent 2010-04-29 00:37:08 +03:00
kimchy cfc8ec5165 continue abstracting json into xcontent 2010-04-29 00:34:25 +03:00
kimchy 37dfc443aa continue abstracting json into xcontent 2010-04-29 00:05:55 +03:00
kimchy cdc33e18f3 start abstaction of xconten over json 2010-04-28 21:29:30 +03:00
kimchy c48851f49c start abstaction of json 2010-04-28 11:20:41 +03:00
kimchy 11e4ad9bd6 Analysis ICU Plugin, closes #151 2010-04-27 23:54:30 +03:00
kimchy 4f91152b3d change numeric term or query parser field query to use range filter/query and not encoded Term query 2010-04-27 12:33:24 +03:00
kimchy cb8faaa13f improve query handling (rewrite) when searching, try and minize the number of rewrites. Also, better highlighting when wrapping in filtered query 2010-04-27 09:40:27 +03:00
kimchy 5f98942911 allow to also define disocvery.zen.ping.unicast.hosts with a single comma delimited hosts. Also allow to define ports range (i.e. host[9300-9305]) 2010-04-26 12:27:04 +03:00
kimchy 2878ae7dd6 Add a -v flag to output version information, closes #128 2010-04-26 11:05:56 +03:00
kimchy 2a19160ad6 internalize guice (no need to aop) and reduce deps 2010-04-26 02:10:42 +03:00
kimchy e56321b414 add google collections to elasticsearch as source and remove binary dep 2010-04-26 01:02:31 +03:00
kimchy 3039e5b0c6 remove TimeoutException from transport future signature 2010-04-26 00:33:33 +03:00
kimchy c7e4ec6369 update project files, remove sources from jar files 2010-04-25 23:40:58 +03:00
kimchy 6975f5d15a move zen discovery to be the default discovery, and move jgroups to a plugin 2010-04-25 21:52:28 +03:00
kimchy 265e2fb8bc zen disco: support for a node to act as a client (and not become master) using discovery.zen.master setting (default to true). It will automatically be set to false when node.client is set to true. 2010-04-25 21:20:24 +03:00
kimchy 4ab298ce00 query on _all field with term/prefix queries fail (by resulting on query execution exception) since the correct term query is not used for it 2010-04-25 18:43:53 +03:00
kimchy bf6cead984 Highlighting broken when query is on `_all` field or with prefixes. Add also a flag to highlight to control if filters should be highlighted or not (called highlight_filters) which defaults to true. Closes #148. 2010-04-25 18:32:46 +03:00
kimchy 453ede8f57 zen discovery, support for unicast discovery 2010-04-25 12:01:11 +03:00
kimchy cb0d7d4735 inital support for zen discovery module (multicast discovery implemented) 2010-04-24 23:48:45 +03:00
kimchy 609af0da60 update test resources build file 2010-04-21 01:17:19 +03:00
kimchy 52a4a41088 fix dependency in build on proper slf4j version 2010-04-21 00:57:11 +03:00
kimchy bda476eee8 Remove dependency on slf4j for logging, create own internal abstraction, closes #146. 2010-04-21 00:29:42 +03:00
kimchy 3d6be1dc3f add search_source as parameter to mlt to provide the actual search source as a query parameter and not in the body 2010-04-20 21:16:52 +03:00
kimchy 9bfbab8209 proper names 2010-04-19 19:21:11 +03:00
kimchy 2fdc49c113 Search API: Indices Boost to apply a boost factor to each index, closes #143. 2010-04-19 19:15:24 +03:00
kimchy 565fc44f89 when using /_search/scroll/... for the scroll_id (and not provided as a parameter), use scroll_id as a parameter. 2010-04-19 12:26:40 +03:00
kimchy 8ce9b3b1a0 fix NPE when applying failed shards several times 2010-04-18 20:36:46 +03:00
kimchy fcc32cbe21 finalize the connection listener support 2010-04-18 17:52:18 +03:00
kimchy 72629fc5ec don't establish a connection on demand, only do it when node discovered by the discovery 2010-04-18 17:10:09 +03:00
kimchy 6b7bbfb883 upgrade to latest slf4j logging 2010-04-18 00:51:17 +03:00
kimchy 9a35ddcb61 add memcached.enabled setting allowing to disable memcached even if its added as a plugin (by default, it is enabled) 2010-04-18 00:16:45 +03:00
kimchy fbc138e38c Count / Delete By Query API: Add source parameter to pass the json body, closes #142. 2010-04-17 23:06:27 +03:00
kimchy 19b355e9f0 ignore interruped exception when scheduled refresh is going on 2010-04-17 22:15:50 +03:00
kimchy f46c643c63 add Map as a parameter where Json can be passed 2010-04-17 20:10:15 +03:00
kimchy b49a1c441c node.client setting should automatically affect node.data (if not set), fix (for now) for the JsonBuilder to resolve first to the delegate (is that right?) 2010-04-17 16:39:00 +03:00
kimchy c6d13212b6 Search API: Allow to pass the body JSON also as a parameter named 'source', closes #140. 2010-04-17 13:34:04 +03:00
kimchy 51aac0cdf7 memcached initial work 2010-04-16 22:01:16 +03:00
kimchy 02cb297691 more groovy client work 2010-04-15 17:45:26 +03:00
kimchy 1b8bb9890e make http a bit faster by improving parsing of qstring 2010-04-15 12:22:49 +03:00
kimchy 677c4d8f99 upgrade to jackson 1.5.1 2010-04-15 07:05:59 +03:00
kimchy ad9549462e more groovy work 2010-04-15 06:45:46 +03:00
kimchy 0da66ba367 groovy plugin - add search API 2010-04-14 19:10:29 +03:00
kimchy 96a185e107 more work on the groovy client - count/terms api 2010-04-14 13:57:40 +03:00
kimchy 7e041c43e0 more work on the groovy client 2010-04-14 12:17:52 +03:00
kimchy fcb99b4d9b Query DSL: Allow for CamelCase field names, closes #134. 2010-04-14 11:48:33 +03:00
kimchy 2d6de97069 Mapper: Allow to define CamelCase JSON fields in mapping definitions, closes #133. 2010-04-14 08:54:38 +03:00
kimchy cb7e92b0f8 start work on the groovy plugin 2010-04-14 08:34:47 +03:00
kimchy 913bc2f947 change the default reuse_addres to not being set automatically to true on both tcp and http transports 2010-04-13 03:09:09 +03:00
kimchy a79dae696a add desc/asc to querystring sort option 2010-04-12 03:08:36 +03:00
kimchy ab5378ad28 have bool json filter extend the base one 2010-04-12 03:05:18 +03:00
kimchy 93e14e06c9 allow to specify timeout as a string time value (i.e. "2s") when getting from a future 2010-04-11 10:26:39 +03:00
kimchy 9846847a61 allow for settings loader to load data from byte[], not just string 2010-04-11 10:26:02 +03:00
kimchy 442e0e87b0 add sort with Order enum 2010-04-11 10:25:17 +03:00
kimchy 9549b9c2d3 fix wrong handling of doc ids to load when request is not serialized 2010-04-09 17:06:09 +03:00
kimchy 49becdc384 add field case casing support for JsonBuilder 2010-04-09 15:36:43 +03:00
kimchy aa046cc18d add field case casing support for JsonBuilder 2010-04-09 15:36:27 +03:00
kimchy 152aa3553e update builtin mappings to work against config/mappings/_default, and also config/mappings/[index_name] 2010-04-09 15:04:38 +03:00
kimchy 7c93c1915f API Change: search sort 2010-04-09 14:42:37 +03:00
kimchy 3a59397306 better usage of StringBuilder in casing 2010-04-09 07:38:27 +03:00
kimchy daac94092c improve camelcache and underscore conversion 2010-04-09 03:29:58 +03:00
kimchy 2fd36fdbf8 add local node to node builder 2010-04-09 03:17:29 +03:00
kimchy a9cd00e287 rename Server to Node to better reflect its usage (it can be a client node), also add on the NodeBuilder helper methods to set common settings 2010-04-09 00:54:54 +03:00
kimchy d4bc187be9 rename node to DiscoveryNode 2010-04-09 00:09:30 +03:00
kimchy 6379e8cc27 rename yaml Node to YamlNode 2010-04-09 00:06:05 +03:00
kimchy 8ecf71ffb8 nicer logs 2010-04-08 19:47:27 +03:00
kimchy b0494a8415 add snapshot logging information 2010-04-08 19:28:41 +03:00
kimchy 9244a46938 add jsr166y package, and move to use transferqueue 2010-04-08 15:22:07 +03:00
kimchy e0058ff80d release before we notify the user 2010-04-08 13:58:00 +03:00
kimchy 25433ace48 release after we notify the user 2010-04-08 13:57:00 +03:00
kimchy a208eb5a50 clean search context when a shard/index gets closed. Add an IndicesLifecyle global component that allows to register for such events easily. 2010-04-07 21:22:43 +03:00
kimchy f631e9aded better release of search context when it is not needed in queryThenFetch type actions 2010-04-07 20:32:47 +03:00
kimchy 9464c390ac Allow to define custom prefix for settings when components do not use the org.elasticsearch package 2010-04-07 18:30:39 +03:00
kimchy bd5260a4f8 javadoc 2010-04-07 18:16:47 +03:00
kimchy 7ed9435a3a more index and shard lifecycle annotations, in any case, one should extend the respective base classes 2010-04-07 17:25:35 +03:00
kimchy 5e4f7c77a2 multi_field not returning for default field for certain type, closes #123 2010-04-07 17:11:12 +03:00
kimchy bb49db8f92 more tests 2010-04-07 16:10:20 +03:00
kimchy 21f7de5123 fix typo 2010-04-07 15:17:23 +03:00
kimchy 880f6266ec better exception 2010-04-07 14:21:39 +03:00
kimchy 91d5beca96 change cache to memory in fs in memory storage of certain files, better name since its not really caching, its actual storage 2010-04-07 14:11:27 +03:00
kimchy 445db1e559 if no metadata in gateway, as if we waited 2010-04-07 13:23:15 +03:00
kimchy bcb46a1747 better handling of failed transport address passed in discovery (still requires more work) 2010-04-07 13:22:01 +03:00
kimchy cc9ff90199 javadoc 2010-04-07 12:44:43 +03:00
kimchy 2bb31fe740 reafactor how actions handle failures, better response when non active shards exists, also, default logging to have action set to DEBUG so exceptions in actions are logged in the server 2010-04-07 01:54:33 +03:00
kimchy 1a9c5d6b15 Range filter gt is broken, closes #119. 2010-04-06 15:54:03 +03:00
kimchy cc6e6eb381 httpAddress -> http_address, closes #118. 2010-04-06 13:33:36 +03:00
kimchy 5cef456305 nicer code 2010-04-06 12:54:19 +03:00
kimchy b760ab18b6 update maven upload to also produce javadoc and source jars 2010-04-06 11:44:41 +03:00
kimchy 7ec83b2f4c fix typo 2010-04-05 15:59:23 +03:00
kimchy 8cfa04cea3 add _all option to nodes based operations 2010-04-05 01:17:53 +03:00
kimchy 341f6d3963 rename max_num_terms to max_query_terms so its similar to mlt 2010-04-05 00:32:08 +03:00
kimchy 6480daff78 API Change: moreLikeThis and fuzzyLikeThis, closes #111. 2010-04-04 23:59:15 +03:00
kimchy 2d6c2d8586 API Change: moreLikeThis, closes #109. 2010-04-04 23:36:52 +03:00
kimchy 52f193c849 API Change: put_mapping: change default ignore_conflicts to false, closes #110. 2010-04-04 23:10:59 +03:00
kimchy 8262093a21 Query DSL: Range - support lt/lte/gt/gte, closes #114. 2010-04-04 22:31:55 +03:00
kimchy 5f7d0ce36e Query DSL: Range - support lt/lte/gt/gte, closes #114. 2010-04-04 22:14:45 +03:00
kimchy 33086fb98d API Change: Terms - Add support for gt/gte/lt/lte, closes #108. 2010-04-04 22:00:05 +03:00
kimchy 4e347425e8 remote _moreLikeThis option 2010-04-04 21:48:44 +03:00
kimchy d0a79223db API Change: opType=create, closes #107 2010-04-04 21:36:07 +03:00
kimchy ff1fa9daad Move from CamelCase to '_' casing, closes #116. 2010-04-04 17:41:40 +03:00
kimchy 3b5b4b4c3a Move from CamelCase to '_' casing, closes #116. 2010-04-04 17:18:18 +03:00
kimchy 3f8acbd994 Mapper: Rename pathType to path, closes #106. 2010-04-04 12:02:34 +03:00
kimchy a6d9c84910 better copy over file 2010-04-04 04:11:07 +03:00
kimchy 4692ef805b properly handle failures by closing file refs 2010-04-04 02:45:41 +03:00
kimchy 3e7bf0fa20 check search scroll URI to /_search/scroll from /_searchScroll 2010-04-04 02:03:59 +03:00
kimchy 6bf19fcd93 Mapper: Rename allFIeld to _all, sourceField to _source, idField to _id, and typeField to _type, closes #105. 2010-04-04 01:50:52 +03:00
kimchy 5da4b0748f update javadoc task to use more mem 2010-04-04 01:23:58 +03:00
kimchy 15bdba30e5 allow for _ separator on top of camel case for mapping definitions 2010-04-03 21:07:01 +03:00
kimchy 962ce9a7e6 improve initial read from gateway on first master startup, first master will not complete the startup sequence until meta data and all indices have been created from the gateway 2010-04-03 03:03:37 +03:00
kimchy a5a4b35e39 update firstMaster before submitting state update 2010-04-03 02:25:22 +03:00
kimchy 65acc0cfa9 better lifecycle mgmnt 2010-04-03 02:20:42 +03:00
kimchy d633b3dfbb nicer code 2010-04-03 01:56:31 +03:00
kimchy 1521222534 _all field should be added to the list of fields under the mapping registry so it can be easily referenced 2010-04-02 22:23:05 +03:00
kimchy 3fb68d62de Get response should have fields always set, even when there are none 2010-04-02 22:11:56 +03:00
kimchy 408bad62f3 Query DSL: Fuzzy Like This, closes #103. 2010-04-02 21:55:37 +03:00
kimchy 58d2e2e1fc update maven support 2010-04-02 21:24:28 +03:00
kimchy 7c904dcd0e better pom generation 2010-04-02 19:08:33 +03:00
kimchy f2189e8176 HTTP Netty: Remove httpKeepAlive support, closes #104. 2010-04-02 18:45:15 +03:00
kimchy 5d5c53151b more work on maven 2010-04-02 16:54:01 +03:00
kimchy 6ed23744fc upgrade to gradle 0.9 preview 1 2010-04-02 15:47:27 +03:00
kimchy 0794c808b9 add more logging to jgroups disco 2010-04-01 23:38:23 +03:00
kimchy 10f96ba8f2 better javadoc 2010-04-01 23:34:22 +03:00
kimchy 10183c7440 fix spelling 2010-04-01 23:19:58 +03:00
kimchy 05d85b2ae4 add source files to dist jar files 2010-04-01 23:06:11 +03:00
kimchy 8faf8c2169 add source files to dist jar files 2010-04-01 23:05:05 +03:00
kimchy 50249f4e52 wait before closing the shard if a snapshot is still in progress 2010-04-01 22:56:05 +03:00
kimchy 4b2ff13833 add cause to index creation 2010-04-01 22:42:51 +03:00
kimchy 118aa89614 Query DSL: Fuzzy Like This, closes #103. 2010-04-01 22:19:17 +03:00
kimchy c2e8804b4d allow no fields to be specified for the mlt builder, default to _all 2010-04-01 18:49:00 +03:00
kimchy fd574880fc Clear Indices Cache API: Allow to clear indices cache, closes #101 2010-04-01 12:25:51 +03:00