Commit Graph

1491 Commits

Author SHA1 Message Date
kimchy 8d45901a8a change logging level, nodes FD will detect it as well 2010-07-21 16:30:40 +03:00
kimchy 48d33ec70a Cluster Health API: Add `wait_for_nodes` (accepts "N", "<N", ">N", "<=N", and ">=N"), closes #269. 2010-07-21 16:29:44 +03:00
kimchy 2a0e8d4ec9 better state when closing shard, and handling its state 2010-07-21 09:20:28 +03:00
kimchy 3629540953 when trying to rejoin the cluster, clean the routing/metadata so the node will get fresh shards 2010-07-21 08:55:35 +03:00
kimchy 15cf7a2361 initialize the nodes before a possible retry, so we have the local node id for it 2010-07-21 01:53:00 +03:00
kimchy 39e546b64d add a proper master not discovered exception for master based operations (cluster state) and the ability to control the timeout till master is found 2010-07-21 01:51:58 +03:00
kimchy a2ceaa91cc improve retry when closing the node performing an operation 2010-07-20 22:34:09 +03:00
kimchy 1ff8b43aa7 clean timeout listener from on going listeners once its removed 2010-07-20 21:11:56 +03:00
kimchy f4064038e4 improve load test 2010-07-20 20:53:14 +03:00
kimchy b3b5c9b0cc don't execute it on a thread pool 2010-07-20 18:34:01 +03:00
kimchy 553e8134ee create a send transaction exception on the calling thread and fill its stack, so we know where its coming from 2010-07-20 18:33:44 +03:00
kimchy 07480846c3 fix logging to actually pass the actual logging parameters 2010-07-20 18:33:12 +03:00
kimchy 6915b39dc3 clean timeout listener task when removing the listener 2010-07-20 18:32:49 +03:00
kimchy 45e54c1705 add retry if master is not connected till master is connected or a timeout has passed to master based operations (like cluster health) 2010-07-20 18:32:21 +03:00
kimchy 45c821316b no need for volatile on writer, its always accessed under a lock 2010-07-20 13:58:01 +03:00
kimchy 3c8cf68a17 improve timeout cluster service listener 2010-07-20 13:50:19 +03:00
kimchy 4ac1409afa don't list connect exceptions 2010-07-20 11:01:08 +03:00
kimchy 679f3758b7 ignore a more genric exception 2010-07-20 09:29:10 +03:00
kimchy 3867591ffa clean up the java api a bit 2010-07-20 09:18:16 +03:00
kimchy 2ee870e01e nicer logging, append space before index + shard id logging 2010-07-20 08:53:57 +03:00
kimchy 6f2c0f4e55 spelling 2010-07-19 17:51:42 +03:00
kimchy 5f0470d68b Support Cross-Origin resource in http/rest module, closes #218. 2010-07-19 15:06:13 +03:00
kimchy e48b1d98db more recovery under load tests, now with nodes shutdown, ignore node connected exception or retry when performing replicated operations 2010-07-19 11:33:21 +03:00
kimchy 9def68a733 add full rolling restart recvoery test 2010-07-19 10:08:12 +03:00
kimchy df602054fb fix relocation of primaries and perform the operation on the relocated primary replica as well 2010-07-19 09:54:52 +03:00
kimchy 0d20790ffe when shutting down a node, close shard (and indices) in parallel 2010-07-19 02:17:59 +03:00
kimchy d657d4447b more shard relocation tests, create a cached executor that can be used to allocate threads that are not affected by the actual thread pool impl (can always fork, no blocking) 2010-07-19 01:45:09 +03:00
kimchy f9cd7cb932 add a recovery test while under indexing load 2010-07-18 23:57:57 +03:00
kimchy 9c9dfe0b39 add a recovery test while under indexing load 2010-07-18 23:40:13 +03:00
kimchy fefcfb5b5c refactor recovery to be handled on the node level (and not per shard), with better retry mechanism when doing peer shard recovery 2010-07-18 22:54:21 +03:00
kimchy 8ac8dd818d now that we have a file based transaction log, increate the memory clean threshold 2010-07-18 21:24:52 +03:00
kimchy 49f8501a5b nicer serilization 2010-07-17 22:58:16 +03:00
kimchy 910ad2a408 fix optimization to not do sorting when searching with score "desc" sorting 2010-07-17 19:38:04 +03:00
kimchy 08ca383fd5 more work on cloud gateway 2010-07-17 15:20:13 +03:00
kimchy 6194b3ab0f add NaN handling for specific hit score as well 2010-07-17 13:52:31 +03:00
kimchy 1fccaf06e9 start work on reimplementing cloud gateway 2010-07-17 13:12:53 +03:00
kimchy e61dc78c21 max_score == NaN, closes #263. 2010-07-17 01:39:12 +03:00
kimchy 3006183191 fix a problem where max_score was NaN if there were no hits from a shard (though there are hits from other shards), it will still be NaN where there are no hits 2010-07-15 22:58:18 +03:00
kimchy cf998e2f89 protected when not of the same type mapper when merging 2010-07-15 22:35:18 +03:00
kimchy 9f6fde9adb better handling of failed merge because of different types 2010-07-15 20:40:40 +03:00
kimchy cfa56cb3d6 Put Mapping: When updating existing mappings, the request returns with acknowledged `false`, closes #262. 2010-07-15 20:03:44 +03:00
kimchy c987e8a534 Querying mapping on a non-master throws an error, closes #261. 2010-07-15 19:03:45 +03:00
kimchy ee60d7dedc better exception message when failing to parse a specific field 2010-07-15 18:46:12 +03:00
kimchy ca8ad83092 only count data_nodes with recover_after_nodes parameter 2010-07-15 01:12:00 +03:00
kimchy 61fadb4dc0 use safe method (to get proper exception) to get shard injector 2010-07-14 23:39:19 +03:00
kimchy f6fa056f1c fix REST api for cluster state and the ability to filter parts of the data returned 2010-07-14 16:05:47 +03:00
kimchy 95ba62f83d Translog: Implement a file system based translog and make it the default, closes #260. 2010-07-14 14:53:58 +03:00
kimchy e7d80b8244 remove max_shards_per_node setting (actually, you could not set it even...), will be revisted when proper SLA based shard allocation will be implemented 2010-07-14 14:29:56 +03:00
kimchy a6bd64f30d Facet results vary depending on size, closes #259. 2010-07-14 11:30:39 +03:00
kimchy 2704ab3d69 improve join process in cluster, fetch the cluster meta-data on join and handle new meta data 2010-07-14 10:34:22 +03:00
kimchy 141506afc5 improve join process in cluster, fetch the cluster meta-data on join and handle new meta data 2010-07-14 09:28:56 +03:00
kimchy 2e2f22fbd6 nullify the updater on stop 2010-07-14 08:55:57 +03:00
kimchy c4d6ccd07b nicer logging 2010-07-14 08:41:42 +03:00
kimchy 234455530a Make merging mappings smarter, closes #253. 2010-07-14 07:32:17 +03:00
kimchy 892dadca59 refactor meta data opertions into discrete services that do all operations within the cluster update process 2010-07-13 18:01:57 +03:00
kimchy ed04721f08 doc 2010-07-13 10:19:57 +03:00
kimchy f0cf552bc5 sorting breaks when sorting on a field that has no value in some documents 2010-07-13 09:38:55 +03:00
kimchy e6bd3f2693 Put Mapping: Fail when an analyzer is specified that was not configured, closes #252. 2010-07-12 23:18:32 +03:00
kimchy 65dffdf9cf throw a descriptive exception when trying to sort on multi token or multi values field per doc 2010-07-12 23:13:37 +03:00
kimchy ff17183798 add more sort tests 2010-07-12 22:25:49 +03:00
kimchy fe50a6f64e improve allocation of shards based on existing work location, wait with index creation on other nodes, so listing their respective existing location will work 2010-07-12 01:33:38 +03:00
kimchy 6722e05418 only list unallocated shards on data nodes 2010-07-11 22:11:06 +03:00
kimchy 52ac24fa23 more debug statr on recovery from gateway 2010-07-11 21:51:45 +03:00
kimchy e7a8da8236 do flush within the finalization of index shard recovery 2010-07-11 21:20:36 +03:00
kimchy 30b34b975c fix spelling 2010-07-11 20:53:03 +03:00
kimchy 294f09a1d7 Shutdown API: Improve behavior when shutting down the whole cluster, closes #250. 2010-07-11 20:41:58 +03:00
kimchy 09493691a7 nicer serializtion 2010-07-11 15:41:12 +03:00
kimchy 671a14ce87 freq is always positive int 2010-07-11 15:35:53 +03:00
kimchy a6ef805aa8 add doc 2010-07-11 00:40:29 +03:00
kimchy ef369fc40f javadoc 2010-07-10 23:21:34 +03:00
kimchy d0cdbeffba only send intiial state recived after sending join request, just when we actually get a new cluster state that includes us. Also, handle no nodes to send to with generic transport nodes action. 2010-07-10 15:43:49 +03:00
kimchy a0ead02299 Don't create / use the work directory if not needed (for example, on client / non data) nodes, closes #249. 2010-07-10 14:29:39 +03:00
kimchy 7ba3b3a9eb Zen Discovery: Control which nodes are allowed to become masters, closes #248. 2010-07-09 04:27:13 +03:00
kimchy b657ffc5e7 Zen Discovery: Control which nodes are allowed to become masters, closes #248. 2010-07-09 04:22:03 +03:00
kimchy d1f5577c40 add channel based read from fs snapshot, reusing the same file descriptor with direct position based reads 2010-07-09 03:51:36 +03:00
kimchy 6cdd6a015c reuse file buffer 2010-07-09 03:24:31 +03:00
kimchy d531d82cfb Zen Discovery: A node might get into an infinite state of trying to find a master (when client / non_master) nodes exists, closes #247. 2010-07-09 00:43:06 +03:00
kimchy 87eb6bed8f nicer logging 2010-07-08 22:53:41 +03:00
kimchy 720e6a6d5b nicer logging 2010-07-08 22:52:03 +03:00
kimchy be6aaa157f fixed a bug in fs translog where it wasn't seeking correctly, and not counting the number of operations 2010-07-08 22:18:26 +03:00
kimchy ef148077fc better logging 2010-07-08 21:37:10 +03:00
kimchy 84af9f5681 improve handling of translog snapshotting 2010-07-08 20:51:37 +03:00
kimchy 4429a61528 better cleanup on shard startup failure 2010-07-08 19:20:03 +03:00
kimchy b69fc265c5 index writer ram buffer size can only be 2G, make sure not to set an illegal value 2010-07-08 19:03:55 +03:00
kimchy 400ec7b8d1 index writer ram buffer size can only be 2G, make sure not to set an illegal value 2010-07-08 18:58:04 +03:00
kimchy 63deef42cf add a help appendable blob store based on immutable one 2010-07-08 18:53:40 +03:00
kimchy 8d669ff54e move sorting to be done using the new fielddata cache, and not using lucene built in FieldCache 2010-07-08 14:42:35 +03:00
kimchy 97b5b41522 enable eager cache eviction based on readers, requires a nasty hack to Lucene, basically overriding two classes to hook into when a reader actually gets closed (and only enabled when elasticsearch is before lucene in the classpath, which we take for in the startup scripts) 2010-07-07 17:15:26 +03:00
kimchy a36b06c682 ignore failed snapshot on a non started index 2010-07-07 16:59:33 +03:00
kimchy a8c317e355 fix terms facets test to take into account distributed terms request 2010-07-07 16:33:39 +03:00
kimchy 5ff46911b6 ignore recovery when no node to recover from (it has disconnected, for example) 2010-07-07 16:30:28 +03:00
kimchy 3fb68c52da ignore snapshot on a shard thas has just been created 2010-07-07 16:30:17 +03:00
kimchy 11a8d637c0 ignore snapshot on a shard thas has just been created 2010-07-07 16:26:19 +03:00
kimchy e40aa540fe ignore recovery when no node to recover from (it has disconnected, for example) 2010-07-07 16:25:55 +03:00
kimchy 9578ad3ef1 Terms Facets: Allow to specify a set of terms to exclude in the request, closes #246. 2010-07-07 14:41:34 +03:00
kimchy 2b5458daf6 implement a simple file system based translog, not the defeault yet, should provide better memory management 2010-07-07 09:30:07 +03:00
kimchy b2bdb149f9 log shard close failure when closing an index 2010-07-06 22:50:40 +03:00
kimchy 6aa9be238c use the atomic integer counter to represent the size 2010-07-06 18:45:19 +03:00
kimchy 267016758d improve handling of memory caching with file system, only force compound file when really needed (when an extension that exists within the compound file is part of the memory cached extensions) 2010-07-06 18:21:36 +03:00
kimchy ac01bb86e8 clean lock only before opening an index writer 2010-07-06 18:13:05 +03:00
kimchy 2908418d37 checn the default byte buffer cache to 200mb, now that its global per node 2010-07-06 17:58:30 +03:00
kimchy 070cb5b295 allocate replica shards (backups) only after the primaries have been allocated, this results in better theoretical shard allocation, and the ability to reuse local storage index files (comared against the backup) 2010-07-06 17:58:05 +03:00
kimchy 1d39bb4d51 cache md5 computation for unallocated shard and reused it 2010-07-06 09:00:24 +03:00
kimchy d4f86899e3 more work on reuse work dir, improved transaction log to move to stream based 2010-07-06 00:12:40 +03:00
kimchy b078c9206a more work on reuse work dir, added md5 logic to identify what need to be recovered or not, note, requires reindexing 2010-07-05 14:13:55 +03:00
kimchy 79b69764e0 doc 2010-07-01 15:03:11 +03:00
kimchy e8b261c165 better shutdown handling 2010-07-01 10:28:57 +03:00
kimchy ad5525f575 fix unwrapping of exceptions 2010-07-01 10:27:53 +03:00
kimchy f6c9c49645 better logging when failing to read full content of a transport message 2010-07-01 03:00:57 +03:00
kimchy c75a56ca17 better shutdown handling 2010-07-01 02:41:00 +03:00
kimchy c2d02e4e3a wrong serialization of shardId 2010-07-01 02:18:35 +03:00
kimchy d848ab3df3 rename executors to esexecutors 2010-07-01 00:06:34 +03:00
kimchy b0d736b489 make the shard routing an actual component 2010-06-30 23:39:27 +03:00
kimchy 811559f393 add another test if the pool size is greater than the core pool size before a worker can exit 2010-06-30 23:08:05 +03:00
kimchy 6709518c4e add the ability to list shard index blobs without actually having one created 2010-06-30 22:54:59 +03:00
kimchy 66096e97f2 Remove the terms API (replaced by facets in search), closes #242. 2010-06-30 19:49:41 +03:00
kimchy df7e3f55a4 improve cluster blocks data structures for simpler usage 2010-06-30 16:06:31 +03:00
kimchy 4049da97fb time value to support parsing days as well 2010-06-30 13:00:25 +03:00
kimchy 088e0b5a64 Automatic management of indexing buffer size, closes #241. 2010-06-30 01:46:57 +03:00
kimchy fdb2eff998 Automatic management of indexing buffer size, closes #241. 2010-06-29 22:54:54 +03:00
kimchy 03ac38fdba better benchmark on memory monitor 2010-06-29 22:12:43 +03:00
kimchy 3f6cd46736 allow to configure tcp network modules (transport, memcached and http) to use blocking io (just enabling it to do some performance tests) 2010-06-29 21:07:38 +03:00
kimchy 01ff81fa89 fix log message 2010-06-29 19:49:28 +03:00
kimchy bc803b4fcf close the thread pool on test 2010-06-29 18:35:03 +03:00
kimchy 703657699a refactor new thread pools in, remove dynamic ones 2010-06-29 18:20:31 +03:00
kimchy de4b21e986 backups don't become primaries on node failures, primaries are first allocated and then start initializing from gateway 2010-06-29 18:20:13 +03:00
kimchy 514df4ee3f refactor the shard routing abstraction, no need for it 2010-06-29 18:02:10 +03:00
kimchy fe5e5a073b work on scaling and blocking thread pool 2010-06-29 18:01:54 +03:00
kimchy 9051ae3a65 work on scaling and blocking thread pool 2010-06-29 17:50:05 +03:00
kimchy 297001de53 update benchmark code 2010-06-29 08:59:28 +03:00
kimchy aa5791a14f move block metadata checks to the transport level 2010-06-29 08:51:36 +03:00
kimchy a82bf74c1c expose blocks in the cluster state rest api 2010-06-29 01:00:07 +03:00
kimchy 5f538b1ba3 Block operation performed on cluster until it recovered from the gateway, closes #239. 2010-06-28 22:53:13 +03:00
kimchy b970f0dcc2 fix toString of bytes value 2010-06-28 17:53:07 +03:00
kimchy 63523f4525 Query DSL: field query does not take into account `allow_leading_wildcards`, closes #236. 2010-06-28 12:33:36 +03:00
kimchy cb9be9973b add the ability to define meta _attributes for mapping, basically a place to store additional unstructured data on the mapping 2010-06-28 09:10:08 +03:00
kimchy 3770924300 allow to control the buffer size of the gateway blob container 2010-06-27 23:26:32 +03:00
kimchy a7c13826da more work on reusing work directory, clean unallocated shards when they are not needed 2010-06-27 18:19:12 +03:00
kimchy b43f0f5965 add streamable to stores files metadata 2010-06-27 14:18:14 +03:00
kimchy 4ae45946a2 nicer logging 2010-06-27 13:50:27 +03:00
kimchy fc7392a98b fix logging 2010-06-27 13:07:21 +03:00
kimchy 90c995dda5 add todo 2010-06-27 12:28:30 +03:00
kimchy 1e7481d5ab fix logging 2010-06-27 12:15:58 +03:00
kimchy c56609a0ad fix default merge size to not truncate on long 2010-06-27 12:14:38 +03:00
kimchy bbb9c3883f fix jdoc 2010-06-27 12:05:30 +03:00
kimchy f1f695b4d9 fix logging 2010-06-27 09:39:07 +03:00
kimchy b9590b5ed6 fix logging 2010-06-27 09:37:44 +03:00
kimchy edd8786a81 close open index input on failure 2010-06-27 02:13:59 +03:00
kimchy 33d357dbb4 Memory Store / FS Memory: Create a node level memory store cache and allocator, closes #235. 2010-06-26 22:34:30 +03:00
kimchy 00d2abef40 refactor facets builder API to make it more manageable 2010-06-26 01:36:42 +03:00
kimchy 5df2257319 add test for facets with search size 0 2010-06-25 22:46:07 +03:00
kimchy 83010f7ee1 more apis on the index level store to help clean unused work shards when needed 2010-06-25 03:39:42 +03:00
kimchy 811856e1f8 better method name 2010-06-25 01:41:06 +03:00
kimchy 98e93322ae use java user.dir as the default "path.home" location 2010-06-24 22:11:13 +03:00
kimchy 4709f00790 add to index store the ability to get the backing store free / total space 2010-06-24 18:05:21 +03:00
kimchy edf0075025 more work on reusing work node level data, now when recovering from peers 2010-06-24 15:34:02 +03:00
kimchy 57169d4233 initial work on reusing work node level data when recovering from gateway 2010-06-24 00:32:05 +03:00
kimchy 0d7cebbaf0 upgrade to async http client 1.0.0 2010-06-23 21:51:29 +03:00
kimchy 296b6b2f57 use custom similarity in search (if there is one) 2010-06-23 14:30:14 +03:00
kimchy a7fdd36f6e clean files that are in the store but not in the gateway 2010-06-23 12:21:04 +03:00
kimchy d5f35f3cee upgrade to netty 3.2.1.Final 2010-06-23 10:52:16 +03:00
kimchy 2121aaad3b part of the index store enhacement 2010-06-23 10:49:06 +03:00
kimchy c4aff14e15 remove field options from field cache and freqs, simpler and they are not used in any case 2010-06-23 09:48:46 +03:00
kimchy cccce2b114 fix work with cluster setting 2010-06-23 08:00:29 +03:00
kimchy 3b4584040b add index level store constuct (on top of the shard level store) 2010-06-23 07:47:18 +03:00
kimchy 8e62bb6934 Cluster State API: Allow to filter the state on nodes, routing_table, metadata, and indices, closes #234. 2010-06-22 16:19:10 +03:00
kimchy dcb0d18519 javadoc 2010-06-22 16:09:49 +03:00
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 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 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 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
kimchy e0d20af743 ignore when flush can't be done 2010-06-14 13:25:18 +03:00
kimchy 0a1bc874c3 Search: Allow to specify script fields to be loaded, closes #221. 2010-06-14 12:50:33 +03:00
kimchy c087bbe804 use List for fieldNames to reduce extra array construction 2010-06-14 04:36:03 +03:00
kimchy 953779ccea allow to pass parameters to custom score script 2010-06-14 04:12:57 +03:00
kimchy 1b32c1ccf4 add cleanable thread local to single values 2010-06-14 03:42:43 +03:00
kimchy 751c56f31e Query DSL: custom score (scripted) query, closes #220. 2010-06-14 03:15:23 +03:00
kimchy 2d0785078c move to field.data package 2010-06-13 18:05:59 +03:00
kimchy a9fc276a3e refactor the custom boost factor query into a more general function boost query 2010-06-13 16:51:19 +03:00
kimchy ec481159d6 pass score docs in order in custom boost factor query 2010-06-13 12:41:16 +03:00
kimchy 2daa54a2bb don't clean thread locals explicitly, let GC clean them 2010-06-12 12:45:38 +03:00
kimchy d515fe8644 add internal support for Rest/HTTP OPTIONS and HEAD 2010-06-11 00:13:08 +03:00
kimchy 5205a183e8 use deletion aware constant score query 2010-06-10 15:04:36 +03:00
kimchy 668e84a99e add specific doc object, DocFieldData and specific types extension to allow in the future for simpler doc level operations 2010-06-09 23:35:31 +03:00
kimchy 497b4a4f10 filtres should implement equals and hashcode 2010-06-09 21:23:19 +03:00
kimchy 64479a11c3 Search Facets: Histogram facets to allow to specify different key and value fields 2010-06-09 00:50:07 +03:00
kimchy 5ca050ffcb Search Facets: Facets to allow to define filters on them, closes #217. 2010-06-08 22:30:21 +03:00
kimchy 6257b78243 Query DSL: Add `and`, `or`, and `not` filters, closes #216 2010-06-08 18:04:34 +03:00
kimchy 47b3a81bec Search Facets: Histogram Facets, closes #215 2010-06-08 15:45:58 +03:00
kimchy d36cea07f3 refactor some facet support 2010-06-08 11:46:30 +03:00
kimchy 874993557c add sum of squares, variance, and std deviation for statistical facet 2010-06-08 10:39:45 +03:00
kimchy 26ed029d8a Query DSL: Support fuzzy query, closes #213. 2010-06-07 18:13:57 +03:00
kimchy c772e7c337 better comment 2010-06-06 14:18:58 +03:00
kimchy f0c56ce18e nicer code, internalize Facets and create a clean external interface 2010-06-06 03:14:34 +03:00
kimchy 81deb833de numeric statistical facets support 2010-06-05 23:58:05 +03:00
kimchy 8aeb589a42 numeric statistical facets support 2010-06-05 23:44:34 +03:00
kimchy 57a21bedd2 update doc 2010-06-05 21:59:42 +03:00
kimchy 88ba980f79 refactoring of facets to be more open for different facet types 2010-06-05 21:49:10 +03:00
kimchy d9d9304f47 add TODO 2010-06-05 15:59:06 +03:00
kimchy 83ad15b9f2 improve cleaning algo, force clean only ones that have not been cleaned, and do a force clean only when we start reaching the full clean 2010-06-05 14:35:12 +03:00
kimchy 5cdba0383b Flush API: Allow to provide `full` parameter for a complete clean, closes #210. 2010-06-05 06:10:02 +03:00
kimchy ef1866aed4 add flush logging 2010-06-05 03:10:55 +03:00
kimchy bcbc0dd741 Search: Search requests hangs when no indices exists, closes #209. 2010-06-05 01:36:24 +03:00
kimchy d0eb836c4a Plugins: Allow to easily plug a custom DSL query/filter parsers, closes #208. 2010-06-05 01:07:12 +03:00
kimchy 9f8644472e more tuning of field data capabilities, make term facet collector handle any type (though it really make sense mainly for string types) 2010-06-04 14:03:43 +03:00
kimchy 0901322337 rename field facet to term facet 2010-06-04 07:03:30 +03:00
kimchy 6e15e3dd24 add helper methods to field data 2010-06-04 06:15:35 +03:00
kimchy 13d7f10b7b add helper methods to field data 2010-06-04 04:42:44 +03:00
kimchy 66c9f2f834 Search Facets: Field Facets, closes #207 2010-06-04 02:31:49 +03:00
kimchy dbb7df742e protected if the cached stream got evicted on us 2010-06-03 20:48:57 +03:00
kimchy c68787aa4c most master node outside of the nodes section, so all elements in nodes will have the same strucutre 2010-06-03 14:30:54 +03:00
kimchy d9ec629473 clean log 2010-06-03 11:42:20 +03:00
kimchy b2f90a2133 REST API does not expose node-master status, closes #203. 2010-06-02 17:04:43 +03:00
kimchy 6c8f49c37d REST API does not expose node-master status, closes #203. 2010-06-02 16:59:55 +03:00
kimchy c2d583064e FS Gateway: Allow to configure is native file copying will be used, closes #202. 2010-06-02 12:06:41 +03:00
kimchy 5ef421e779 Nodes Info API: Failed to generate REST response when node attributes are set, closes #201. 2010-06-02 01:10:43 +03:00
kimchy a7ad295f63 Zen Discovery: ungraceful shutdown of the master and start of replacement node might cause the cluster not to elect a new master, closes #200. 2010-06-01 22:29:38 +03:00
kimchy ec662cc019 always start the unicast ping discovery, so unicast discovery will work even when using multicast 2010-05-31 22:24:51 +03:00
kimchy 4b85407f5e work on a nicer java api 2010-05-29 22:23:39 +03:00
kimchy e59b413980 work on a nicer java api 2010-05-29 05:50:17 +03:00
kimchy 3406e77cec Streamline single value with boost queries: Allow for both value and query name to specify the query value, closes #192. 2010-05-28 12:23:51 +03:00
kimchy 493464ba02 improve logging 2010-05-28 05:26:51 +03:00
kimchy a7cce9cd38 Replication Actions: Allow to control replication type - `async` or `sync`, closes #196. 2010-05-28 03:56:04 +03:00
kimchy 84a5c1eac8 Replication Actions: Allow to control replication type - `async` or `sync`, closes #196. 2010-05-28 03:47:35 +03:00
kimchy 477024e3be cached termsSet used in dfs phase 2010-05-27 20:31:48 +03:00
kimchy 7e5bfb5d3b share the open channels handler 2010-05-27 18:25:59 +03:00
kimchy ded270fa03 add search id when failing to execute 2010-05-27 14:29:04 +03:00
kimchy 71ece4e31c rever back all interfaces binding in multicast 2010-05-27 13:12:33 +03:00
kimchy d7984e9962 rever back all interfaces binding in multicast 2010-05-27 12:43:05 +03:00
kimchy d14a8afaf0 add another trace logging 2010-05-27 12:12:18 +03:00
kimchy 101652d720 add another trace logging 2010-05-27 12:10:55 +03:00
kimchy 74fa3ed32f Zen Discovery: Improve Multicast Binding and Sending, closes #195. 2010-05-27 02:11:06 +03:00
kimchy 9433f4d651 Network Settings: Allow to use '_' as well as '#' for special host names, closes #194. 2010-05-26 16:33:35 +03:00
kimchy 40d4a350fd nicer code 2010-05-26 13:01:16 +03:00
kimchy 26364afd7e Failed to acquire lock, closes #193. 2010-05-26 12:29:13 +03:00
kimchy 463910da45 handle null doc id set 2010-05-26 11:20:15 +03:00
kimchy 9a49629d17 throw an exception when an action is not found 2010-05-26 09:16:10 +03:00
kimchy 32e4c405de add async http client 2010-05-24 23:27:07 +03:00
kimchy b7d11f1303 Gateway Storage: Improve it to support non breaking changes in the future, closes #191. 2010-05-24 18:27:48 +03:00
kimchy 116cfce6f2 FS Gateway: Change indices location (Requires manual upgrade), closes #188. 2010-05-23 08:37:41 +03:00
kimchy 5c6864e8b3 inital work on hadoop plugin - gateway hdfs support 2010-05-23 08:17:52 +03:00
kimchy 596f9db8d8 fix to build the facets map on getFacets 2010-05-22 21:12:07 +03:00
kimchy a372643ca9 remove using Lucene StringHelper in the code 2010-05-22 16:52:22 +03:00
kimchy 4c51ddd2ad update comment for next lucene version 2010-05-22 13:22:27 +03:00
kimchy 66158ffc19 fix logging 2010-05-22 02:50:35 +03:00
kimchy 6191bf9cdc Optimize API: Change flush and refresh to default to true and not false, closes #187. 2010-05-22 02:38:38 +03:00
kimchy 10a245e76d fix problem with transport client starting 2010-05-22 02:13:39 +03:00
kimchy bcc59ac4cc comment for next lucene version 2010-05-22 02:00:26 +03:00
kimchy ecc74f225e Cloud Plugin: Cloud gateway default chunk size change to 1g, closes #186. 2010-05-22 01:08:43 +03:00
kimchy fb03652ecd another simple test 2010-05-21 20:40:10 +03:00
kimchy dc4acde3db Network Settings: Default publish host to first non loopback (first ipv4 then ipv6), closes 185. 2010-05-20 22:31:45 +03:00
kimchy b4940d258c fix FD with zen discovery to actually retry and not rely on closed socket 2010-05-20 22:05:47 +03:00
kimchy 3e0f854c88 add network info printing 2010-05-20 21:10:53 +03:00
kimchy a8a4bbc30e internal optimization - share built in analyzers on the node level and not on index level 2010-05-20 00:55:31 +03:00
kimchy 5718e27fcf add clean index to indices 2010-05-19 22:00:27 +03:00
kimchy d1acef1e09 Filter Cache: Improved Caching, closes #182. 2010-05-19 21:05:43 +03:00
kimchy bd6b89f7ca Query DSL: Allow to control if filters should be cached, closes #181. 2010-05-19 20:41:29 +03:00
kimchy 1882460645 add an index level engine instance, allowing to provide and share data across different shard level engines 2010-05-19 04:24:39 +03:00
kimchy 40fdcc43b7 update all to use LUCENE MONITOR 2010-05-19 03:55:07 +03:00
kimchy 7639f9b784 change the addition of analysis processors to override the default ones 2010-05-19 01:40:34 +03:00
kimchy b5140085a5 better logging 2010-05-19 00:45:13 +03:00
kimchy 44769b7c04 add sleep before close to stress test 2010-05-18 21:11:44 +03:00
kimchy 10bc248000 add anotehr test 2010-05-18 18:23:01 +03:00
kimchy cb5500919a add filter cache tests 2010-05-18 17:47:19 +03:00
kimchy 03d7cf3171 remove dead code 2010-05-18 14:55:00 +03:00
kimchy b7e540825f add seek back on mem directory 2010-05-18 04:49:39 +03:00
kimchy eaa75a70c7 add index writer tests 2010-05-18 04:43:46 +03:00
kimchy dc5bb20331 no need to cache the analyzer providers 2010-05-18 02:49:17 +03:00
kimchy 4ba2453369 create a single place where Lucene version is defined 2010-05-18 02:44:50 +03:00
kimchy 9ebb95c6c0 add common http settings 2010-05-18 01:35:35 +03:00
kimchy e696b4ca00 add common tcp settings 2010-05-18 01:22:59 +03:00
kimchy 34103c6b7f test and start of node stress tests 2010-05-17 23:56:42 +03:00
kimchy eef6c02bf7 test and start of node stress tests 2010-05-17 23:27:28 +03:00
kimchy 8d3347bb5c Memory Monitor: Remove explicit GC call, clear cached instead, closes #179. 2010-05-17 19:02:35 +03:00
kimchy 45ae8f6a95 lighter search holder 2010-05-17 17:50:32 +03:00
kimchy 23d2799d71 uppercase first letter in property name breaks "_all" queries, closes #178. 2010-05-17 17:23:24 +03:00
kimchy dbbb341136 better voaltile management 2010-05-17 01:27:41 +03:00
kimchy a8b9b01f3d correct wordings 2010-05-17 00:08:11 +03:00
kimchy 918e2a6882 don't increment the counter twice 2010-05-16 23:50:39 +03:00
kimchy ab57fa86af Zen Discovery: Increase Ping timeouts, closes #177. 2010-05-16 23:40:55 +03:00
kimchy 216dda3f9c Throttling of recovery (both gateway recovery and peer node recovery), closes #176. 2010-05-16 23:37:56 +03:00
kimchy 2301b0b13d chagne the defualt reader cleaner scheduler to 10 seconds 2010-05-16 20:06:59 +03:00
kimchy 013e7699c3 Index Request wrongly stores extra bytes as part of the document (trailing null bytes), closes #175. 2010-05-16 17:56:52 +03:00
kimchy 7b1aac5bb4 eagerly clean cache when shard gets closed 2010-05-16 03:57:26 +03:00
kimchy 5e4343b48b change how filter cache works, do weak/soft on IndexReader key, so we release the IndexReader on memory constraints 2010-05-16 03:29:56 +03:00
kimchy 5fa3e40a4e move to use simple CHM instead of the non blocking one 2010-05-16 03:29:05 +03:00
kimchy eef24a7b1f nicer log output 2010-05-16 01:31:23 +03:00
kimchy 2a79ffdc00 no need for explicit array creation 2010-05-16 01:23:50 +03:00
kimchy dfab82272a static classes 2010-05-16 01:15:10 +03:00
kimchy e5737e3058 bette logging 2010-05-16 01:09:50 +03:00
kimchy a005dc2c1f add transport info and stats to node info / stats api 2010-05-15 19:49:27 +03:00
kimchy b816ed5cf2 add thread pool stats and info to nodes stats / info api 2010-05-15 18:10:24 +03:00
kimchy 723e47a54b Consolidate network settings, common tcp settings, and generalized port settings, closes #174. 2010-05-15 16:30:02 +03:00
kimchy c9be7bde52 Network Settings: Add `host` setting that automatically set both `bind_host` and `publish_host`, closes #173. 2010-05-14 19:22:56 +03:00
kimchy a7f9db64fc add '-' option before install and remove 2010-05-14 13:43:21 +03:00
kimchy 04cfacec41 add tests for path mappings 2010-05-14 12:26:41 +03:00
kimchy 911d800ff8 add tests for path mappings 2010-05-14 12:17:17 +03:00
kimchy 10754b0873 better safeguard for concurrent restart requests 2010-05-14 10:28:18 +03:00
kimchy b49864299d fix wrong optimization on boolean query 2010-05-14 08:16:10 +03:00
kimchy f6d4654daa use ip address if possible when serializing inet socket transport information 2010-05-14 00:23:18 +03:00
kimchy d964f10bbe use ip address if possible when serializing inet socket transport information 2010-05-13 23:14:22 +03:00
kimchy 3d310406b7 fix header doc 2010-05-13 21:07:30 +03:00
kimchy 6cd3fc92ed reduce bytes allocation when doing http 2010-05-13 20:42:59 +03:00
kimchy fbde2c84ac guard for several restart requests for the same node at the same time 2010-05-13 20:14:01 +03:00
kimchy 8573c26602 improve mlt serialization and deserialization 2010-05-13 18:50:34 +03:00
kimchy 836461e6de improve search serialization and deserialization 2010-05-13 18:39:24 +03:00
kimchy bbdbfbeb59 improve count serialization and deserialization 2010-05-13 18:12:30 +03:00
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
kimchy 0e3ca48aa9 add type to filter cache 2010-04-01 01:18:18 +03:00
kimchy dc1402597f rename 2010-04-01 01:05:37 +03:00
kimchy d546ae358c javadoc 2010-04-01 00:44:34 +03:00
kimchy aac05e2629 inject similarity to parsing context of queries so it can be used 2010-04-01 00:35:54 +03:00
kimchy 2ea7423f3a don't cache count queries 2010-04-01 00:20:45 +03:00
kimchy def8caf7db better lifecycle handling when deleting an index 2010-03-31 22:46:21 +03:00
kimchy 6f9451f9c6 better lifecycle handling when deleting an index 2010-03-31 22:45:46 +03:00
kimchy 398382f6e7 nicer code 2010-03-31 21:45:56 +03:00
kimchy 632f0d4f0d clean logging file 2010-03-31 21:18:40 +03:00
kimchy 38d8fad8d0 clean and refactor the way fs index gateway work, should work nicer with NFS 2010-03-31 17:23:16 +03:00
kimchy 0586bcd003 better handling of fs gateway when sync to disk of the translog file 2010-03-31 15:39:50 +03:00
kimchy 1a698df69d better handling of fs gateway when sync to disk of the translog file 2010-03-31 15:36:43 +03:00
kimchy 875e7b7449 better logging of fs gateway 2010-03-31 13:02:09 +03:00
kimchy 41e100ad33 fix failure in mlt with dates, this does mean that currently, mlt, when based on fetching the source and parsing it, does not do mlt on numbers 2010-03-30 23:07:59 +03:00
kimchy 4492293b49 fix failure in mlt with dates, this does mean that currently, mlt, when based on fetching the source and parsing it, does not do mlt on numbers 2010-03-30 22:46:20 +03:00
kimchy 81c6b9075c MoreLikeThis: Rename fields (rest/http parameter) to mltFields, closes #95. 2010-03-29 16:43:26 +03:00
kimchy 8402738bbe Index aliases ignored for /.../_moreLikeThis, closes #93. 2010-03-29 14:14:23 +03:00
kimchy 3decb2a61e nice(er) code 2010-03-29 11:27:38 +03:00
kimchy a5dc0fcf9a javadoc 2010-03-29 11:03:36 +03:00
kimchy 913a486f99 more work on attachments, have basic types support external set values 2010-03-29 00:19:33 +03:00
kimchy b42245df53 intial support for pluggable type mappers 2010-03-28 18:36:42 +03:00
kimchy f560383b53 intial support for pluggable type mappers 2010-03-28 18:35:25 +03:00
kimchy b799b7a9d7 plugins support + start work on attachments plugin 2010-03-27 23:43:59 +03:00
kimchy 73daff1584 Better exception when failing to create gateway home 2010-03-27 22:10:56 +03:00
kimchy cd12d89dac Better exception when failing to create gateway home 2010-03-27 22:07:22 +03:00
kimchy 59267ce449 more unused field 2010-03-26 21:58:19 +03:00
kimchy 79a930d7ca javadoc 2010-03-26 21:57:47 +03:00
kimchy 9a521e8d98 update benchmark 2010-03-26 20:08:24 +03:00
kimchy 91b463a39a add create flag to benchmark 2010-03-26 18:20:26 +03:00
kimchy be096fcd6f improve moreLikeThis API by using the new get request fields options 2010-03-26 00:44:44 +02:00
kimchy 9c0a37df32 Mapping: Allow to have for a field to not be stored and not indexed, but still be included in `all`, closes #90. 2010-03-25 20:56:45 +02:00
kimchy 5957f580e3 refactor lifecycle components to a shards base class #cleancode 2010-03-25 20:40:37 +02:00
kimchy e5cd594503 Boot-time Mapping Definitions, closes #86. 2010-03-25 13:34:30 +02:00
kimchy 8f324678e8 Index Aliases, closes #88. 2010-03-25 02:00:53 +02:00
kimchy 4851ddde13 if we already have an idset, use it 2010-03-24 01:53:59 +02:00
kimchy f4c94a35d6 Query DSL: Rename `filteredQuery` to `filtered`, closes #85. 2010-03-24 00:37:59 +02:00
kimchy 6a476f440b rename operationThreading method 2010-03-24 00:28:05 +02:00
kimchy 621d222c94 Mapping: Support for short type, closes #84. 2010-03-23 14:20:56 +02:00
kimchy 0a2de7ce5d a test for lucene FieldCache 2010-03-23 12:42:31 +02:00
kimchy 3a322a64b7 a test for lucene FieldCache 2010-03-23 12:41:59 +02:00
kimchy 5b11de8958 clean thread locals (even static ones!) on Server#close or TransportClient#close 2010-03-23 10:31:15 +02:00
kimchy 14af9d28fd sort field can be null (when sorting on score for example), make sure we take it into account when serializing 2010-03-23 08:53:58 +02:00
kimchy 89043b113a better exception when trying to put mappings when no indices exists, closes #79. 2010-03-22 18:03:05 +02:00
kimchy f9cac39024 Terms query is broken, closes #80. 2010-03-22 17:59:34 +02:00
kimchy fa55c40c87 Index FS Store: Allow to cache (in memory) specific files, closes #82 2010-03-22 17:09:03 +02:00
kimchy 267859c784 another test 2010-03-22 13:59:25 +02:00
kimchy 93e025325e Terms API: Support numbers/dates, closes #78. 2010-03-22 02:34:42 +02:00
kimchy bc03d89c00 work on terms api to work properly with number types 2010-03-21 22:38:51 +02:00
kimchy a039a6cc38 add a test for failed from 2010-03-21 16:45:04 +02:00
kimchy 297e2091e2 more improved search result streaming, write a header with shard targets, so each hit just write an id of the targe 2010-03-21 15:09:02 +02:00
kimchy 77564cb14f more improved transport stream size, duplicate strings are serialized once and use handles to deserialize 2010-03-21 10:35:25 +02:00
kimchy 1e455789d0 Search API: Scroll, closes #77. 2010-03-21 01:14:49 +02:00
kimchy 2ae6de2433 fix wrong handling of size and from when passed as request parameters 2010-03-20 23:44:24 +02:00
kimchy de69f5f0fd doc 2010-03-20 21:08:19 +02:00
kimchy 52af5573f1 rename tieBreakerMultiplier to tieBreaker 2010-03-20 18:52:21 +02:00
kimchy 35bd7f0086 fix search hanging because of query parsing exception 2010-03-20 18:45:02 +02:00
kimchy bad8643978 fix wrong parsing of useDisMax with number 2010-03-20 18:13:08 +02:00
kimchy fa1071d090 parse correct enabled flag on all field when passed as number, closes #76 2010-03-20 14:40:24 +02:00
kimchy 671bc4e734 ThreadPool: Rename dynamic to scaling, closes #75. 2010-03-20 03:41:41 +02:00
kimchy fc47bd6f2f ThreadPool: Add a blocking thread pool, closes 74. 2010-03-20 03:25:13 +02:00
kimchy 2551fb9fce change the default opereationThreading on delete/index to true 2010-03-20 03:15:57 +02:00
kimchy 315cc90560 fix test 2010-03-20 02:09:44 +02:00
kimchy 049ce4ffcd better names 2010-03-20 01:25:51 +02:00
kimchy d2bf446d9c better exception handling 2010-03-20 00:55:24 +02:00
kimchy d4dc3cacc1 fix problem with outputting proper error when failing to parse configuration on startup 2010-03-20 00:28:15 +02:00
kimchy a344ebb1b3 Index Analysis: Add language analyzers and stemmers, closes #72 2010-03-19 17:07:43 +02:00
kimchy 45234f4d90 fix compilation warning 2010-03-19 14:19:53 +02:00
kimchy 55cad3208e fix explain failure 2010-03-19 14:15:26 +02:00
kimchy f8a615f9a3 refactor internal transport streams to be more effecient, heavily reduce stream size 2010-03-19 03:04:35 +02:00
kimchy 1ae5a3467f change default recovery buffer to 100k from 16k 2010-03-18 17:28:54 +02:00
kimchy b1e5284a06 Memory Store: change default bufferSize from 1k to 100k, closes #70 2010-03-18 17:27:17 +02:00
kimchy 28b0b5fc30 Search API: Support highlighting, closes #69. 2010-03-18 16:05:24 +02:00
kimchy fc3a805514 NullPointerexception at org.elasticsearch.action.get.GetResponse.sourceAsString, closes #68 2010-03-18 14:08:45 +02:00
kimchy cd2090bc79 more tests 2010-03-18 01:15:26 +02:00
kimchy 1107df9ab6 query parser should take into account using all, since all creates a specialized "term query" which boosts based on the boost level associated with a term. Generalized it so mappers can control when query is used for term query. 2010-03-18 00:53:36 +02:00
kimchy a8be04b334 improve test 2010-03-18 00:29:07 +02:00
kimchy 3a55998a3b Mapper: Ability to disable storing the "source" field, closes #66. 2010-03-17 21:29:44 +02:00
kimchy 6243f4f95b Get API: Allow to specify which fields to load, close #65. 2010-03-17 20:03:32 +02:00
kimchy 4c13a9d548 allow to also store the all field 2010-03-17 13:17:48 +02:00
kimchy d8ef200b4b Shutdown API: allow to shutdown node(s) or the whole, closes #64. 2010-03-17 00:29:36 +02:00
kimchy 1dd5997889 _all field, closes #63. 2010-03-16 23:04:20 +02:00
kimchy 1d2d4674cf stop the timer when closing the http server 2010-03-16 02:18:28 +02:00
kimchy 20877a0c79 upgrade to jackson 1.5 2010-03-14 21:24:47 +02:00
kimchy 1de6509107 optimize fetching when an empty array of fields is provided, in such a case, we only need the uid (id and type) 2010-03-13 17:56:29 +02:00
kimchy 2e8b0464b6 allow to specify mappings in created index (currently, only internally), use it to create the mappings on index creation with recoverying from gateway 2010-03-13 02:42:43 +02:00
kimchy 024cdb4312 wait till the index gets created to create the mappings when recovering from the gateway 2010-03-13 02:14:28 +02:00
kimchy 4e1a1f3437 Mapping metadata not restored from gateway on server restart, closes #57 2010-03-12 18:22:20 +02:00
kimchy 65ed582a90 Mapper : Schema less automatic date detection wrongly detects numbers as dates, closes #60. 2010-03-12 18:16:35 +02:00
kimchy 47c11aa538 Boolean field type does not handle number/string properly when searching, closes #59. 2010-03-12 16:53:11 +02:00
kimchy 6fe329ab69 search json parsing to allow passing numbers/booleans as strings and not native json types 2010-03-12 16:36:31 +02:00
kimchy ef85412f98 fix name 2010-03-12 16:30:30 +02:00
kimchy 471801b484 query/filter json parsing to allow passing numbers/booleans as strings and not native json types 2010-03-12 16:28:37 +02:00
kimchy 86c3a406c6 Java API: Expose source as Map (in GetResponse, SearchHit), allow to index a Map, closes #58. 2010-03-11 16:39:30 +02:00
kimchy 4b04db9030 A search with an empty fields param causes a NullPointerException or a runaway process. Changed logic for an empty fields array, where it won't return the source in this case. Closes #55. 2010-03-10 17:49:47 +02:00
kimchy 7c68489758 Mapping - Support specifying string as number values (for example, for boost), closes #53. 2010-03-10 11:22:57 +02:00
kimchy ae5bcb6d2e Support parsing Strings with numeric types, closes #54 2010-03-10 00:40:11 +02:00
kimchy baaac70da5 get jackson object mapper to support dates as elasticsearch expects them 2010-03-09 17:09:07 +02:00
kimchy 83a78b3979 _count hangs, closes #52 2010-03-09 13:25:17 +02:00
kimchy b13f6b1bdd Mapping - MultiField Mapping, closes #51. 2010-03-07 20:13:59 +02:00
kimchy 290ecd4c95 delete files that are no longer used from the fs gateway 2010-03-05 22:46:15 +02:00
kimchy f4f26d2118 Search API: Query Facet - Add global flag to control if the facet is bounded to the search query or not, closes #50. 2010-03-05 16:05:08 +02:00
kimchy 40b0dfddec count should be cached as a filter 2010-03-05 15:24:04 +02:00
kimchy f1d5b179ce doc 2010-03-05 13:02:36 +02:00
kimchy 51836e0fb6 doc 2010-03-05 12:56:37 +02:00
kimchy e735ff49d6 simpler settings builder api 2010-03-05 12:39:38 +02:00
kimchy 45489ed1af add TimeValue based getter 2010-03-05 01:50:40 +02:00
kimchy 7a38e384c9 wrap checked TimeoutException with runtime ElasticSearchTimeoutException 2010-03-05 01:48:56 +02:00
kimchy 7bf0f1ffca refactor client api, remove execXXX, and simple remain with the actual operation name as the method name, one that returns a future, and one that accepts a listener 2010-03-05 01:39:04 +02:00
kimchy e49a8454a6 fix rest boolean 2010-03-04 18:49:18 +02:00
kimchy 111f9cb751 proper handling of get response (document does not exists) 2010-03-04 15:35:15 +02:00
kimchy c560f1f9f1 wait for status should wait for at least that provided status, for example, waiting for status yellow should return if the status is green 2010-03-04 15:09:11 +02:00
kimchy 5d947ad680 make final 2010-03-03 08:47:22 +02:00
kimchy e276928ebf remove dep on sun 2010-03-03 01:49:25 +02:00
kimchy 03ee0a942d update docs 2010-03-03 00:50:53 +02:00
kimchy 12e2ba822f more docs 2010-03-02 22:16:35 +02:00
kimchy fdd221e8ea Query DSL: queryString - allow to run against multiple fields, closes #48. 2010-03-02 00:42:53 +02:00
kimchy fbf9197b85 make non negative query in query parser 2010-03-01 22:17:17 +02:00
kimchy 7709c68f63 optimize boolean queries when possible 2010-03-01 22:07:14 +02:00
kimchy 4dbc167966 Query DSL: Field Query, closes #47. 2010-03-01 20:10:38 +02:00
kimchy 12e87ba865 allow for * on range queries in query parser 2010-03-01 18:49:14 +02:00
kimchy aef5aa0b33 start work on getting maven working.. 2010-03-01 17:19:07 +02:00
kimchy bd8d52f3f8 move to SNAPSHOT suffix for dev builds, when an actual release will take place, then change the version 2010-03-01 16:30:07 +02:00
kimchy 234a5abda0 merge snakeyaml into source 2010-03-01 15:56:19 +02:00
kimchy 7d3b642326 merge snakeyaml into source 2010-03-01 15:53:15 +02:00
kimchy 7c91e7239b merge snakeyaml into source 2010-03-01 15:51:55 +02:00
kimchy 18a1a5f940 merge snakeyaml into source 2010-03-01 15:50:02 +02:00
kimchy 4c9cf299e6 use existing mapping when merging 2010-03-01 14:25:50 +02:00
kimchy 0ef4000842 more mapping work, ignoreDuplicates renamed to ignoreConflicts 2010-03-01 13:55:47 +02:00
kimchy 568254887f better merge mapping logic, better failure reporting 2010-02-28 12:55:05 +02:00
kimchy c6683d23ef some merge mapping work, tests... 2010-02-28 12:28:48 +02:00
kimchy f51e2cf905 stop the recovery process by interrupting network threads when closing a shard 2010-02-28 11:15:35 +02:00
kimchy 372bdec45f more docs 2010-02-28 01:36:45 +02:00
kimchy bcca36fa67 more docs 2010-02-27 23:37:53 +02:00
kimchy bf3f82c7c8 more docs 2010-02-27 22:03:40 +02:00
kimchy 1f3c038f60 fetch phase in search sould return the full name of the field, and not just the name 2010-02-27 22:00:17 +02:00
kimchy bf7ace79ea whats up? doc... 2010-02-27 19:27:07 +02:00
kimchy a5790cab28 refactor from and size in url to use the new "extraSource" in it 2010-02-27 16:48:01 +02:00
kimchy 948f0ef0da doc doc doc 2010-02-27 16:36:20 +02:00
kimchy 471ad1ed73 expose jgourps.bind_port to use when configuring tcp based discovery in jgroups through settings 2010-02-27 04:34:06 +02:00
kimchy c5a2d497df add _mlt as well for uri 2010-02-27 04:02:07 +02:00
kimchy 8b36281d60 MoreLikeThis API: Search documents that are "like" the specified document, closes #45. 2010-02-27 03:57:36 +02:00
kimchy c30d790609 change the the name to indices boost 2010-02-27 01:37:14 +02:00
kimchy 929bb3f2be have index level query boost part of the search source 2010-02-27 01:26:56 +02:00
kimchy 284a35131c start work on more like this action 2010-02-27 00:52:13 +02:00
kimchy 1ec1716a7b analyzer might end up being null 2010-02-26 15:28:38 +02:00
kimchy e0c3bb5883 Query: support negative queries, closes #44. 2010-02-26 14:44:18 +02:00
kimchy ba0972cde5 upgrade to lucene 3.0.1 2010-02-26 11:59:14 +02:00
kimchy 0ebb74dd9e Query DSL: moreLikeThis & moreLikeThisField, closes #43. 2010-02-26 03:28:44 +02:00
kimchy e70bec79cd fix wrong iteration when getting back terms 2010-02-25 21:34:41 +02:00
kimchy a8af609eba refactor index service into a service package 2010-02-25 20:20:54 +02:00
kimchy 3ef36737f7 wait a bit for assigment to start in test 2010-02-25 18:45:55 +02:00
kimchy 70726b268f add validation on routing table, expose it in cluster health, and add more information when shard start or fail 2010-02-25 18:40:29 +02:00
kimchy f5a4296bf7 improve logging 2010-02-25 09:03:52 +02:00
kimchy 9eaa50ce62 revert escaspe default to true in queryString 2010-02-25 08:46:37 +02:00
kimchy da510f28ab start work on cluster health api, still needs some polising, relates to #42. 2010-02-24 23:16:01 +02:00
kimchy e3af8716ed fix nodes info to accept node(s) ids as well 2010-02-24 22:45:24 +02:00
kimchy c7389df8e0 Query DSL: queryString - allow to escape the string (should be on by default), closes #41. 2010-02-24 22:00:03 +02:00
kimchy bcc52a0173 add calibrateSizeByDeletes option in merge policies 2010-02-24 20:45:15 +02:00
kimchy eb3f8b2f79 fix logging 2010-02-24 18:14:39 +02:00
kimchy 97814e100a add ack flag to create and delete index apis 2010-02-24 01:43:36 +02:00
kimchy 78d9ab103a clean ongoing open index outputs when closing the recovery action 2010-02-24 00:37:05 +02:00
kimchy aa54e9cc35 better handling of open inputs/outputs in case of recovery failure 2010-02-24 00:32:23 +02:00
kimchy d1a4989e84 fix possible node serialization problem (dont share the byte buffer) 2010-02-23 23:37:33 +02:00
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