Commit Graph

40466 Commits

Author SHA1 Message Date
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
kimchy 0545423837 better encapsulation of mapping builders 2010-02-17 18:19:52 +02:00
kimchy 872781536d Merge bytebuffer and memory stores into a single memory store options, closes #22. 2010-02-17 13:09:22 +02:00
kimchy 042d71073c decouple http from rest 2010-02-17 09:28:06 +02:00
kimchy 1299f20364 flush_index hangs when no indices exist, closes #19. 2010-02-16 21:56:24 +02:00
kimchy 5d781961a0 Terms API: Allow to get terms for one or more field. Closes #21. 2010-02-16 21:47:56 +02:00
kimchy 06cbc0a95b Count API: Also accepts /_count uri to search over all indices. Closes #17. 2010-02-16 10:18:47 +02:00
kimchy 854fc21a70 Search API: Also accepts /_search uri to search over all indices. Closes #16. 2010-02-16 10:16:34 +02:00
kimchy 66b86a7a03 Optimize API: Add onlyExpungeDeletes, flush and refresh parameters. Closes #15. 2010-02-15 23:55:11 +02:00
kimchy 9633108ad6 Flush API: Add refresh flag (refresh after flush). Closes #14. 2010-02-15 23:35:53 +02:00
kimchy 687d7955e5 slight performance improvement in dfs phase 2010-02-15 17:15:49 +02:00
kimchy e768f67fa0 Search API: Fields listed should exists within a "fields" Json object. Closes #13. 2010-02-15 10:27:39 +02:00
kimchy 9a9ce99364 Create Mapping API: Automatically create indices. Closes #12. 2010-02-15 10:23:53 +02:00
kimchy b5f3fc9ae1 Query http listeners. Closes #10. 2010-02-14 21:29:14 +02:00
kimchy cfafb52beb Optimize API: Allow to optimize index/indices. Closes #9. 2010-02-14 20:33:25 +02:00
kimchy 7631b1383b change broadcast support to be able to run on all shards replicas (in parallel) and not just one shard per replica group. Change flush and refresh to use broadcast and not replicaiton. Remove shards transport support since broadcast now does exactly the same, and refactor index status to use broadcast (across all shards). 2010-02-14 13:29:39 +02:00
kimchy c31d29b702 fix readme to use replica and not backup for shards 2010-02-14 02:43:25 +02:00
kimchy 604c407e91 smart search analyzer should try both fullName and then indexName, and not just indexName. 2010-02-14 02:20:34 +02:00