Commit Graph

2336 Commits

Author SHA1 Message Date
kimchy af39f07213 Mapping: By default, don't index _id, closes #868. 2011-04-20 02:49:14 +03:00
kimchy 3b21759bec Better support with _type is marked as not indexed, allowing to filter by type, closes #866. 2011-04-20 01:31:38 +03:00
kimchy c3f3c268c8 Query DSL: Add ids query and filter to fetch docs by ids (do not require _id field to be indexed), closes #865. 2011-04-20 00:30:30 +03:00
Lukáš Vlček be2a456cc0 improve test: check hits length and zero failures 2011-04-19 21:49:08 +02:00
kimchy 8e027b3baf properly handle cases where filter returns null docIdSet with and/or/not filters 2011-04-19 21:28:08 +03:00
kimchy 5cc943c7db remove some field caching logic, does not seem to do much perf wise, and simplifies back the code 2011-04-19 17:07:32 +03:00
kimchy 56c9783cb3 remove using field cache when indexing string fields for now 2011-04-19 16:16:31 +03:00
kimchy f8ff42d397 log when failing to process doc after index operation 2011-04-19 16:13:26 +03:00
kimchy 79ebcc31c5 double check that there are mappings before trying to call the post process method 2011-04-19 16:10:51 +03:00
kimchy 32127c4d73 register the future with teh listener when deleting an index, so it can be canceled 2011-04-19 15:25:02 +03:00
kimchy e40499f35f small improvement to bulk indexing to not allocated ops if no percolation is done 2011-04-19 13:53:21 +03:00
kimchy 3b82b013d5 eagerly reroute shards when opening an index 2011-04-19 12:56:08 +03:00
kimchy ffc8c3b68a Weird error message on syntax error, closes #864. 2011-04-19 12:23:29 +03:00
kimchy d29754121c don't log a versioning conflict failure, even in DEBUG level 2011-04-19 12:17:11 +03:00
kimchy b94fab34eb Mapping: Allow to set index to `no` for _id and _type, closes #863. 2011-04-17 21:06:46 +03:00
kimchy c4be4975d6 better message 2011-04-17 19:00:45 +03:00
kimchy 5cd0bc52af set CDPATH to empty value so it won't conflict when "cd" 2011-04-17 18:59:58 +03:00
kimchy c2ee6dd120 improve gateway recovery and applying indices, also improve speed of index creation 2011-04-17 18:39:00 +03:00
kimchy 287dc862e0 more options on stress test 2011-04-17 10:14:49 +03:00
kimchy 166493f9d5 properly clean mapper data, and cache some mapping structures 2011-04-17 09:52:29 +03:00
kimchy efb3e97ce4 don't return any id when doesn't exists 2011-04-17 06:21:39 +03:00
kimchy fb35b1c993 clean guice caches after creating injectors so it will take less memory 2011-04-17 05:16:34 +03:00
kimchy 343c80b100 shard tokenizers, token filters, char filters across indices / shards 2011-04-17 03:55:33 +03:00
kimchy 067b8379d5 internal cluster name 2011-04-17 01:45:02 +03:00
kimchy 4907ce4fec intern logger names 2011-04-17 01:20:24 +03:00
kimchy c51b481cc9 revert back to guice 2 2011-04-17 00:58:00 +03:00
kimchy 73e7ea4663 allow to control index indexing concurrency (pretty much internal) 2011-04-16 22:55:12 +03:00
kimchy e8306ac2c8 improve local gateway allocation by caching the started shards when possible and not asking the nodes for it 2011-04-16 22:33:45 +03:00
kimchy 658594fa70 improve gateway initial recovery time by creating the indices, and only after all have been created, do the rerouting 2011-04-16 18:23:48 +03:00
kimchy 763f986a30 Versioning: Better handling of deletes - time based eviction, closes #862. 2011-04-16 17:26:31 +03:00
kimchy 4eddaec8ba change defaults in stress test 2011-04-16 16:57:17 +03:00
kimchy a1796c3408 add an estimated time thread and use it where we don't need exact time 2011-04-16 16:57:02 +03:00
kimchy 2cc4a286f8 small refactor 2011-04-16 03:23:47 +03:00
kimchy 8fa8a72175 add refresh before verifying in the test 2011-04-16 03:20:52 +03:00
kimchy 9927fd4cdd fix none bloom cache to proper name 2011-04-16 03:15:43 +03:00
kimchy 5ab0ec4911 add a concurrent indexing stress test 2011-04-16 03:15:13 +03:00
kimchy 9c85500246 change additionalSettings to use Settings 2011-04-16 01:20:27 +03:00
Igor Motov 785fb11f2a Allow plugins to provide additional settings. 2011-04-16 01:17:23 +03:00
kimchy 85aeaaedd0 update to aws sdk 1.1.9 2011-04-15 01:56:27 +03:00
kimchy bba7179eeb automatically clean indices that no longer exists in the metadata, this can happen if we delete a closed index, or when a node joins a cluster, that no longer has those indices 2011-04-14 21:15:55 +03:00
kimchy 897587f981 Allow to delete a closed index, closes #859. 2011-04-14 20:51:20 +03:00
kimchy 7c38f20056 Query DSL: Geo Distance Range filter, closes #856. 2011-04-14 20:20:18 +03:00
kimchy 7874291c0e fix wrong initialization of mem evictions counter 2011-04-14 19:13:14 +03:00
kimchy 1e84c439e5 Shard Allocation: Closed indices are not properly taken into account when rebalancing, closes #858. 2011-04-14 15:00:54 +03:00
kimchy 7550fc570e Query DSL: Allow to directly wrap a query with a constant_score query, closes #857. 2011-04-14 14:19:24 +03:00
kimchy e5c1ab0ca6 add another reroute method to do no assignment but still elect new primaries on failed nodes 2011-04-14 13:43:01 +03:00
kimchy 25eba4b60d Unicast Discovery: Concurrently connect to nodes to improve cases where some listed nodes are not up, closes #855. 2011-04-14 02:27:59 +03:00
kimchy 3b72d63035 EC2 Zen Discovery: Automatically use the configured transport port to ping other nodes, closes #854. 2011-04-14 02:13:27 +03:00
kimchy 853ade7297 Upgrade to jackson 1.7.6 (fixes that long field name smile bug) 2011-04-14 01:36:19 +03:00
kimchy 65fde3e71e only remove shards if they have been started on all other nodes 2011-04-14 01:12:37 +03:00