45583 Commits

Author SHA1 Message Date
kimchy
b5544769d2 fix problem when deserializing exceptions thrown from one node to the other 2010-02-23 23:16:02 +02:00
kimchy
54f325ee1a query parser with explicit fields values would not get analyzed 2010-02-23 22:16:12 +02:00
kimchy
07d4166715 removed unused field 2010-02-23 22:04:10 +02:00
kimchy
4cf1b3ed9e read settings (json, yml) using utf8 2010-02-23 21:33:54 +02:00
kimchy
46ff97af5e refactor json handling to use byte[] instead of string for better performance, storage, and memory consumption (apply to search) 2010-02-23 21:30:10 +02:00
kimchy
defb6a336d refactor json handling to use byte[] instead of string for better performance, storage, and memory consumption (apply to count and delete by query) 2010-02-23 21:22:40 +02:00
kimchy
c111e1ab80 refactor json handling to use byte[] instead of string for better performance, storage, and memory consumption 2010-02-23 18:40:22 +02:00
kimchy
8adcbb2832 add a simple test for validating jackson handling of binary data added while generating content 2010-02-22 23:18:45 +02:00
kimchy
3f033a04e7 change toInclusice in terms api to default to true instead of false 2010-02-22 23:03:58 +02:00
kimchy
d36f376a8e fix cluster state mapping informaton, return it with the mapping name as key and source field 2010-02-22 21:34:11 +02:00
kimchy
67d86de7ea Gateway: Store cluster meta data in JSON (and not binary), closes #36. 2010-02-22 20:08:33 +02:00
kimchy
575250e223 handle reduce phase failures when searching (raise exception to listener) 2010-02-22 09:26:08 +02:00
kimchy
3d9b310c46 better detailed message 2010-02-22 08:55:36 +02:00
kimchy
98c981d02c don't wrap in broadcast shard excpetion twice 2010-02-22 08:51:47 +02:00
kimchy
086611ce38 add shard header with failures to flush operation 2010-02-22 08:48:20 +02:00
kimchy
b05b01d9f8 Terms API: add the ability to return terms as array (termsAsArray flag), defaulting to true since order is important 2010-02-22 01:50:58 +02:00
kimchy
38edf96271 Terms API: add the ability to return terms as array (termsAsArray flag), defaulting to false 2010-02-22 01:48:29 +02:00
kimchy
7cda7eca54 fix spelling 2010-02-22 01:33:37 +02:00
kimchy
0f5ff617f1 when failing to send a message using the transport (connect / serialization), call the response handler with it by default 2010-02-22 01:19:06 +02:00
kimchy
16a7dd137d handle cases when t is null when producing a detailed message for it 2010-02-22 00:05:32 +02:00
kimchy
8c16840fd7 bring back boost mapping support when building mapping source 2010-02-21 23:37:48 +02:00
kimchy
6d52065db3 Mapping Overhaul - More user friendly, cluster aware, closes #34. 2010-02-21 22:57:39 +02:00
kimchy
78e73259a0 put mapping to return the parsed source and an indication if it was ack from all the nodes within the timeout 2010-02-21 17:26:15 +02:00
kimchy
0e55c876a4 rename create mapping to put mapping 2010-02-21 16:49:42 +02:00
kimchy
2201839091 add support to generate json out of the runtime representation of mappings 2010-02-21 14:24:34 +02:00
kimchy
ce58723cc5 refactor mapping names into a separate class (Names), create a NamedAnalyzer wrapper which allows to know the logical name the analyzer was created under 2010-02-21 10:28:11 +02:00
kimchy
82e5b7d1c9 when a shard is recovered (from gateway or another shard, sniff mappings from it). Also, improved search load doc perforamnce when no explicit fields are provided 2010-02-21 00:34:54 +02:00
kimchy
2e81730272 add failure reason for broadcast operations (refresh, flush, optimize, ....) 2010-02-20 18:58:44 +02:00
kimchy
a828106553 add shard specific failure reason to search operations 2010-02-20 17:35:26 +02:00
kimchy
f94ff19f33 don't print fields when the fields map is empty 2010-02-20 15:54:18 +02:00
kimchy
008b00f51a Facet query crashes the cluster. Wrong serialzation of facets caused for construction of a rough sized array list. closes #28. 2010-02-20 15:21:02 +02:00
kimchy
fa54b7c896 search operation where only some shards would fail might hang 2010-02-20 04:06:27 +02:00
kimchy
21a1021bdb add the cause to query phase execption 2010-02-20 03:34:42 +02:00
kimchy
1aa8e01184 Allow for the sort search element to speciy the sort fields in an array, closes #30. 2010-02-20 02:48:26 +02:00
kimchy
3f045dee1f Accept also 0 int number to indicate false, and any other number to indicate true (on top of accepting json boolean type), closes #26. 2010-02-20 02:13:06 +02:00
kimchy
4806df426a Boolean Type: Support also cases when a number/string value are passed, closes #33. 2010-02-20 01:50:50 +02:00
kimchy
e6b5ec7aaa some queries/filters did not end at the correct state when used as inner json elements 2010-02-20 01:42:17 +02:00
kimchy
bfc5ad7b92 disable error trace by deault, enable it using rest param called errorTrace which can be set to 1/true/on 2010-02-19 09:55:02 +02:00
kimchy
2a3fcce818 protected from cases when the index get created and then, right away, deleted. relates to #25. 2010-02-18 23:39:14 +02:00
kimchy
c631cae090 add tagline to the main request ;) 2010-02-18 23:23:38 +02:00
kimchy
82e69691b1 add support for "keep alive" time for a search request, and timeout context that have not been accessed 2010-02-18 23:21:08 +02:00
kimchy
f7d152821d supprot 1 as true for boolean setting 2010-02-18 23:11:10 +02:00
kimchy
e195ec6295 allow http boolean parameters to accept either "true" or "1" for true 2010-02-18 23:09:05 +02:00
kimchy
72599ad003 generics 2010-02-18 13:56:14 +02:00
kimchy
23cfdeea11 change the routing interval in tests to 100ms from 200ms 2010-02-18 10:04:32 +02:00
kimchy
30ff15e3fc do routing automatically also when routing table changed, don't wait for the scheduled one (it means a new index has created, shard started/failed) 2010-02-18 10:04:10 +02:00
kimchy
f135a93b70 create mapping operation should wait for the mappings to be created on all the nodes before it returns (with a new timeout value) 2010-02-18 02:10:15 +02:00
kimchy
778156787a the work location of an index should be under an additional "index" directory (so later, we can have other auxilary directories) 2010-02-18 00:08:39 +02:00
kimchy
8a5a44c1c3 Search API: Set different boost for indices when searching across indices, closes #23. 2010-02-17 19:49:46 +02:00
kimchy
ffbc2a9d8d add the ability to provide params to ToJson (later will be used to control how json is generated) 2010-02-17 18:36:52 +02:00