Commit Graph

953 Commits

Author SHA1 Message Date
kimchy 622d4041b8 handle cases where the node does not exists in the disco nodes 2010-06-22 10:59:24 +03:00
kimchy 7c931f34fa ignore state exceptions when trying to flush 2010-06-22 10:26:44 +03:00
kimchy 0c6b82aeca fix javadoc 2010-06-22 09:26:37 +03:00
kimchy 3d84af2a40 refactor hdfs gateway to use the new common blobstore 2010-06-22 09:10:00 +03:00
kimchy 21627bca10 return after notifiying listener on failure 2010-06-21 23:29:13 +03:00
kimchy 96d08cc641 remove the jgroups plugin 2010-06-21 22:51:54 +03:00
kimchy 893de86e9e fix missing break statemetns (via Lukas) 2010-06-21 22:45:02 +03:00
kimchy 7ed7c6db4e Gateway: Internal refactoring, requires manual upgrade when using fs gateway, closes #232. 2010-06-21 22:40:12 +03:00
kimchy 733abdcac3 more unboxed math 2010-06-20 14:42:11 +03:00
kimchy 701920c6c1 remove unused API in field mapper (that also cause compilation to break on eclipse) 2010-06-20 12:12:01 +03:00
kimchy 41e570d89d add prepare methods to the rest of the groovy APIs 2010-06-20 09:31:22 +03:00
kimchy abde45bb82 refactor util.xcontent to common.xcontent in groovy cliet 2010-06-20 08:53:45 +03:00
kimchy e846ed6465 Lucene: Upgrade to latest 3.0.2 version, closes #231. 2010-06-20 01:04:39 +03:00
kimchy 384f8a4f42 Return the maxScore per search and score for each search hit, closes #205. 2010-06-20 00:23:27 +03:00
kimchy 0f2147aeec add some prepare APIs to the groovy APIs 2010-06-19 21:09:03 +03:00
kimchy 891c69f8de refactor builder requets into common base class 2010-06-18 14:26:33 +03:00
kimchy adef9d69ff Gateway: Allow to configure a `recovery_after_time` and `recover_after_nodes`, closes #223. 2010-06-18 05:32:51 +03:00
kimchy 22926f0026 Analysis: When specifying empty array for stopwords, use an empty list for stopwords, closes #230. 2010-06-18 00:34:18 +03:00
kimchy 8e4c139c8b Analysis: fields that are `not_analyzed` should automatically default to keyword analyzer, closes #229. 2010-06-17 23:23:53 +03:00
kimchy 60bd8f34d2 add debug logging of the ping responses received 2010-06-17 22:37:47 +03:00
kimchy f64b96e3c8 add an exception if there is no master node set 2010-06-17 22:19:43 +03:00
kimchy 7b145fd4e1 Expose the mappings of a given index or index/type, closes #222. Added the ability to filter returned data from the cluster state API, and use it to expose REST GET endpoint for "/_mapping", "/{index}/_mapping", "/{index}/{type}/_mapping" ({index} can also be "_all"). 2010-06-17 17:56:07 +03:00
kimchy 3bc8c307f1 simplify netty transport to use single channel 2010-06-17 12:50:01 +03:00
kimchy eded80805b rollback changes to logging / config 2010-06-17 12:49:11 +03:00
kimchy 597f020156 fork node connected and disconnected on a different thread pool 2010-06-17 12:47:42 +03:00
kimchy 662ded3801 connect to a node when it joins the cluster on the disco level, so if it fails, it will be propagated back and the node will not be added to the cluster state 2010-06-17 12:46:53 +03:00
kimchy 86134d32a8 nicer logging 2010-06-17 12:46:05 +03:00
kimchy d1c7bde07e make the rest cluster state return mappings as object keyed type 2010-06-17 02:45:17 +03:00
kimchy 38005826e7 detect write errors early and notify transport handler 2010-06-17 02:17:54 +03:00
kimchy 8af925a0b1 add internal flags to help simulate forcefull disconnections 2010-06-17 01:05:23 +03:00
kimchy a60e542718 cancel the timeout if we fail to send the request 2010-06-16 23:07:41 +03:00
kimchy b0c8255cd9 clean the cluster state when starting (handles restarts better) 2010-06-16 21:59:26 +03:00
kimchy a59679b0c6 better failure messages 2010-06-16 21:47:58 +03:00
kimchy 4d26acd6da add aliases to cluster state rest response 2010-06-16 06:08:36 +03:00
kimchy a547c1ccc0 cluster state to return native json (if possible) as part of the mappings 2010-06-16 05:48:30 +03:00
kimchy 626989c55e don't return the source when asking for scripted fields 2010-06-16 04:48:06 +03:00
kimchy 2d6f61b3c1 Facets: Script Histogram facet, closes #228. 2010-06-16 04:22:00 +03:00
kimchy bb24b56c66 Facets: Script statistical facets, closes #227. 2010-06-16 02:18:24 +03:00
kimchy c2786038e2 Script Filter: Support providing a custom script as a filter, closes #226. 2010-06-16 01:32:04 +03:00
kimchy be3b779caa Tcp Transport: Reduce `transport.tcp.connection_per_node` from 5 to 1, closes #225. 2010-06-15 23:36:31 +03:00
kimchy 8e589b5a04 nicer code 2010-06-15 23:14:04 +03:00
kimchy eaf124123d reduce long name 2010-06-15 23:09:09 +03:00
kimchy 65039ff21d Zen Discovery: When a master node is forcefully killed, other nodes might not monitor the other elected master, closes #224 2010-06-15 23:08:52 +03:00
kimchy eb68891ae5 move size value/unit to bytes size value/unit, and create a ten based size value/unit 2010-06-15 18:26:44 +03:00
kimchy a18e58b394 move size value/unit to bytes size value/unit, and create a ten based size value/unit 2010-06-15 18:16:10 +03:00
kimchy f75abbaa00 big refactoring thanks to proper jarjar built from source with asm 3.3 allowing to jarjar guice and others, includes package relocations 2010-06-15 17:59:04 +03:00
kimchy d5bd77cc38 big refactoring thanks to proper jarjar built from source with asm 3.3 allowing to jarjar guice and others, includes package relocations 2010-06-15 17:28:05 +03:00
kimchy 636bfe8466 big refactoring thanks to proper jarjar built from source with asm 3.3 allowing to jarjar guice and others, includes package relocations 2010-06-15 16:51:38 +03:00
kimchy 48979ab6c8 improve gateway recovery when using delay index creation, close the loophole when the master was shut down before the delay expired and now other node becoming master will do the recovery 2010-06-15 10:27:26 +03:00
kimchy 98df1b3433 Gateway: Allow to configure a delay till index creation from gateway will occur, closes #223. 2010-06-15 01:25:55 +03:00