Commit Graph

1501 Commits

Author SHA1 Message Date
kimchy 8a8a6d5547 Mapping: Rename _attributes to _meta, closes #518. 2010-11-16 01:34:01 +02:00
kimchy b8b4cbbb46 add mapping metadata to cluster state metadata, will allow in the future to add specific mappings hints (since we don't have the parsed mapping on each node anymore) 2010-11-15 21:21:18 +02:00
kimchy 51c18cd9c1 refactor ip field mapper into its own package 2010-11-15 19:21:23 +02:00
kimchy 36183af22c automatically use match_all query when executing a _all:* query string 2010-11-15 17:15:24 +02:00
kimchy effdd52586 sync changes done on the indices cluster service with changes happening in an async manner during recovery 2010-11-15 16:54:29 +02:00
kimchy 4b06eeb75a better desc 2010-11-15 16:39:16 +02:00
kimchy a342029d36 Histogram Facet: Allow to define a key field and value script, closes #517. 2010-11-15 15:05:50 +02:00
kimchy 5c6c4bfb5a Histogram Facet: Allow to define a key field and value script, closes #517. 2010-11-15 15:02:35 +02:00
kimchy b1db5c43d6 Mapper: `date` type to also allow providing values in numeric (milliseconds since epoch), closes #516. 2010-11-15 14:12:54 +02:00
kimchy 6d214d69b9 Mapper: Store the routing (if provided) under a `_routing` field, closes #515. 2010-11-15 11:34:56 +02:00
kimchy 8ee038574d add _routing to documetn indexed when providing routing value 2010-11-14 21:23:52 +02:00
kimchy 9505cb14f1 bring back the retry on shard missing 2010-11-14 21:02:46 +02:00
kimchy fa1d8c7bcd only remove the shard (not clean it) when ignoring recovery 2010-11-14 20:09:27 +02:00
kimchy 37335bc6a9 also retry when there are no routing shards, might happen in case of recovery from gateway before shard routing initialization 2010-11-14 20:09:00 +02:00
kimchy d0ac9087b6 add bootstrap.mlockall setting to control if mlockall should be called or not 2010-11-14 15:54:40 +02:00
kimchy 30929c3d01 better logging, include index and shard id in log statement 2010-11-14 00:24:51 +02:00
kimchy 31986c4486 add a check to not allow to create an alias with a name of an existing index 2010-11-13 18:53:12 +02:00
kimchy 73bf371912 fix exception logging on failed index creation 2010-11-13 18:08:11 +02:00
kimchy 38d77f8cf3 Query DSL: Allow to provide pattern field names when using query_string query, closes #511. 2010-11-13 02:26:14 +02:00
kimchy 6839cc6965 clear memory after parsing a doc, and not on parsing of a new doc 2010-11-12 15:36:23 +02:00
kimchy d994a862dd add support for analyzer mapping when the mapping is not indexd nor stored 2010-11-12 14:54:28 +02:00
kimchy bba98cf1b7 cleanup traversing unneeded mappings 2010-11-12 14:50:05 +02:00
kimchy beb77c9b0a fix a bug in mapping serialization (introduced on 0.13), where properties gets underscore cased by mistake, and not retain their original naming 2010-11-11 15:38:20 +02:00
kimchy 17cba798e6 add double restart test for local gateway 2010-11-11 14:08:58 +02:00
kimchy e340388a5d upgrde to amazen aws sdk 1.1.0 2010-11-11 01:44:16 +02:00
kimchy 70a0e110d4 apping: add threshold to _source field compression, closes #506. 2010-11-10 21:03:54 +02:00
kimchy a2e674df49 add filteredQuery to QueryBuilders to conform with xxxQuery notation 2010-11-10 00:03:33 +02:00
kimchy 4c6af6afa5 Cluster health API should return RED status (on applicable levels) when an index has not recovered from the gateway, closes #507. 2010-11-09 21:25:22 +02:00
kimchy 4695f93276 add index routing table changed 2010-11-09 16:31:21 +02:00
kimchy d0e0b85178 add many indices stress test 2010-11-09 16:22:50 +02:00
kimchy 8ceba0dca1 don't overflow with cluster events if the index level block was removed already 2010-11-09 15:42:27 +02:00
kimchy 36bf5ee9fe add toString to cluster block 2010-11-09 15:41:47 +02:00
kimchy a0f4359ffa handle any exception when failing to snapshot 2010-11-09 15:34:43 +02:00
kimchy 8266315f51 handle any exception when failing to snapshot 2010-11-09 15:34:17 +02:00
kimchy f9fb67616d don't write checksum file for the segments file, we anyhow recover it and that way the index can be read by pure Lucene code 2010-11-09 14:27:28 +02:00
kimchy b5f1a1b49c Parsing a deeply nested json might fail 2010-11-09 10:26:15 +02:00
kimchy 33ff95af05 add more trove helpers 2010-11-09 09:35:35 +02:00
kimchy 8e2db2c68f rename field to path in _analyzer mapping 2010-11-09 09:16:47 +02:00
kimchy 6b5e884b93 have the default path value for analyzer mapper to be _analyzer. 2010-11-09 08:59:30 +02:00
kimchy 6567fcaf35 remove an index level block if its empty (make no sense to keep an empty set for it, also, shouldn't shot it back in APIs) 2010-11-09 00:08:30 +02:00
kimchy c69b94d769 rename field to path in _analyzer mapping 2010-11-08 11:07:34 +02:00
kimchy c9228ed26d Get Action: Allow to pass refresh forcing getting latest, closes #488. 2010-11-07 23:51:18 +02:00
kimchy c095d72439 Get Action: Allow to pass refresh forcing getting latest, closes #488. 2010-11-07 23:50:48 +02:00
kimchy e51523385d Analysis: Allow to alias analyzers, closes #486. 2010-11-07 20:10:53 +02:00
kimchy 171fa4a7e8 Mapper: An analyzer mapper allowing to control the index analyzer of a document based on a document field, closes #485. 2010-11-07 18:18:24 +02:00
kimchy b45ade467e send transport exception is a wrapper exception around the actual exception 2010-11-07 17:56:50 +02:00
kimchy c9e8a2ac68 no need to pass the id mapprt to serialization twice... 2010-11-07 16:00:27 +02:00
kimchy d77a0c41d0 make sure attributes are also serialized across restarts 2010-11-07 15:32:37 +02:00
kimchy 598225f833 document level analyzer (analyzer, index_analyzer, search_analyzer) are not serialized (and not maintained across restarts), closes #484. 2010-11-07 13:13:29 +02:00
kimchy 7340d6973d slim down the mapping serialization to xcontent (json), don't write default values 2010-11-07 12:33:44 +02:00