1358 Commits

Author SHA1 Message Date
kimchy
6d214d69b9 Mapper: Store the routing (if provided) under a _routing field, closes . 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 . 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
70a0e110d4 apping: add threshold to _source field compression, closes . 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 . 2010-11-09 21:25:22 +02:00
kimchy
4695f93276 add index routing table changed 2010-11-09 16:31:21 +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 . 2010-11-07 23:51:18 +02:00
kimchy
c095d72439 Get Action: Allow to pass refresh forcing getting latest, closes . 2010-11-07 23:50:48 +02:00
kimchy
e51523385d Analysis: Allow to alias analyzers, closes . 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 . 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 . 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
kimchy
e44604b441 better transport exception handling, refactor out an action based transport exception, and don't fill stack trace only for remote ones 2010-11-07 04:08:05 +02:00
kimchy
ef3e7fe62b renamve method 2010-11-07 00:02:58 +02:00
kimchy
6b952f6719 Fs Gateway: Add (native) file lock to ensure two nodes in a split brain are not updating same gateway, closes . 2010-11-06 23:27:46 +02:00
kimchy
998bde0820 Add an option to display max_open_files, by setting -Des.max-open-files to true, closes . 2010-11-06 22:47:09 +02:00
kimchy
b568174bee add a comment on why we don't mark as relocated when relcoating primaries 2010-11-06 22:03:11 +02:00
kimchy
87efccf677 expose boolean and Object as values for TermQueryBuilder and FieldQueryBuilder 2010-11-06 01:04:14 +02:00
kimchy
129b9a3938 Query DSL: Allow to control (globally) the max clause count for bool query (defaults to 1024), closes . 2010-11-06 00:59:37 +02:00
kimchy
9385476340 fix expected setting, had an additional _ by mistake 2010-11-05 20:54:01 +02:00
kimchy
53a98275cf remove unused variable 2010-11-05 18:39:10 +02:00
kimchy
99a3e615ab Improve performance when searching across multiple types, closes . 2010-11-04 20:34:49 +02:00
kimchy
bbd63f0ffe constant_score query might apply deletes wrongly, closes . 2010-11-04 20:18:05 +02:00
kimchy
770ccf421b don't write the local gateway state if there is no master, since we don't want to override the fact that they do exists on that node under the respective version 2010-11-04 12:17:17 +02:00