Commit Graph

2830 Commits

Author SHA1 Message Date
Njal Karevoll 41dbcdb7d6 Give the date field mapping a "numeric_precision" argument that allows a user to configure the precision of the numeric timestamps.
Supports all the time units from http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html
2011-09-21 23:51:50 +03:00
Shay Banon 3f8b7f0fce allow to change awareness settings using cluster update settings API 2011-09-21 23:48:23 +03:00
Shay Banon 44efcca108 automatic preference when using awareness attributes 2011-09-21 23:09:44 +03:00
Shay Banon 3028d5a7a1 Shard allocation awareness (rack aware, zone aware, for example), closes #1352. 2011-09-21 18:26:16 +03:00
Njal Karevoll 6a6cba1ff3 include the path when serializing _id field mappings 2011-09-20 17:50:32 +03:00
Shay Banon 8c322b4cc2 use the same improved fields extraction in get api 2011-09-20 16:54:02 +03:00
Shay Banon 9a13763315 Improve source based fields loading when searching, closes #1347. 2011-09-20 14:33:02 +03:00
Shay Banon 29d0bfdaa9 don't log delete of unused shard location if it does not exists 2011-09-19 17:50:41 +03:00
Shay Banon f3106de23f suppress unchecked compile warnings 2011-09-18 21:51:42 +03:00
Shay Banon dc85e227af upgrade to latest jsr166 code 2011-09-18 21:50:16 +03:00
Shay Banon f072c7e91b add meter metric implementation 2011-09-18 21:35:01 +03:00
Shay Banon 52ca63deb9 move refreshing version table to be done right after the commit within the respective lock, for full flush (rarely used) its needed... 2011-09-18 16:13:05 +03:00
Shay Banon b66a3b7c59 Realtime Get: Under high concurrent indexing and immediate get, a get might be missed while flushing, closes #1344. 2011-09-18 13:44:35 +03:00
Shay Banon 305cf4a567 Bulk API: Properly retry execution on temporal state changes, closes #1343. 2011-09-17 02:21:49 +03:00
Austin McKinley 0977b793da adding timeout to list of connection failures 2011-09-17 00:50:51 +03:00
Shay Banon 5ba6ec5a69 Versioning: Delete on an already deleted document should still affect versioning, closes #1341. 2011-09-17 00:50:10 +03:00
Shay Banon bdfa07934e refactor creation of lucene directory and simplify different directories implemenation strcture 2011-09-16 18:39:23 +03:00
Shay Banon a7e43005bb Rest Delete API does not honor the `version_type` parameter, closes #1337. 2011-09-15 17:07:04 +03:00
Shay Banon 25c6e8512d fix full flush when no changes happen in the index, so the updated trans id is not written 2011-09-15 14:56:37 +03:00
Shay Banon 28f56262bc use a simpler API call 2011-09-15 14:01:45 +03:00
Shay Banon 639515c240 Optimizing inactive (indexing wise) shard to only happen when there are no ongoing merges, closes #1336. 2011-09-15 12:21:12 +03:00
Shay Banon 74079c8a13 Upgrade to Lucene 3.4.0, closes #1335. 2011-09-15 12:16:58 +03:00
Shay Banon 3eaf73a380 Add number of committed and number of search segments to the segments API response 2011-09-14 20:48:02 +03:00
Shay Banon e2b1cb1640 Allow to filter geo bounding box or distance based on indexed lat lon, closes #1334. 2011-09-14 14:27:39 +03:00
Shay Banon 819653cdba add a note on mlockall 2011-09-13 23:33:43 +03:00
Shay Banon a8fc0cbcf3 when setting null value ttl, reset it 2011-09-13 21:43:56 +03:00
Benjamin Devèze e52dbf4fda fix bug when adding to BulkRequest with no TTL, add simple unit test for that 2011-09-13 21:41:13 +03:00
Shay Banon a84eb1fc8f Rivers: Close rivers early allowing them to still do index operations, closes #1330. 2011-09-13 02:15:50 +03:00
Shay Banon 847938a88e XContentBuilder.field : StackOverflowError with Integer[] parameters, closes #1324. 2011-09-12 22:44:55 +03:00
Shay Banon 36f364c998 revert back to 5gb from 20gb (the lucene default) to create less confusion 2011-09-12 21:38:27 +03:00
Shay Banon c62f476fa6 Indexation of document causes NullPointerException (on Linux) or ES process hanging, closes #1325. 2011-09-12 21:35:45 +03:00
Shay Banon d8377074a4 expose meteData directory 2011-09-12 21:33:33 +03:00
Shay Banon 93b1759804 Nested Mapping: Nested object with a null value causes wrong indexing structure (resulting in wrong search responses), closes #1323. 2011-09-12 11:23:20 +03:00
Shay Banon 8fe1e5cdb8 upgrade to trove 3.0.0 2011-09-12 10:21:10 +03:00
Shay Banon cd82d9ad47 remove wrongly committed config 2011-09-11 13:51:45 +03:00
Shay Banon e6f277474e Thread Pool: Blocking thread pool type configuration fails, closes #1321. 2011-09-11 01:06:57 +03:00
Shay Banon 8532dc84e9 Query with stopwords executed directly against a type fails, closes #1320. 2011-09-11 00:53:39 +03:00
Shay Banon 5610d90c2d add custom config for plugins path as well 2011-09-09 17:25:25 +03:00
Shay Banon a6eaf8c2c3 upgrade to aws sdk 1.2.7 2011-09-09 16:57:30 +03:00
Benjamin Devèze 4279016f30 add default ttl value support 2011-09-09 15:35:01 +03:00
Shay Banon 052f9aac1f allow to force flush and use it when optimizing 2011-09-09 15:21:22 +03:00
Shay Banon bf70836e92 don't do double int[] lookup for ordinal 2011-09-09 14:06:54 +03:00
Shay Banon 84ae001731 if ttl field mappers don't exists (yet), ignore it for that shard 2011-09-09 13:31:40 +03:00
Shay Banon 100df0dca8 Merge branch 'ttl-time-value-source' of https://github.com/Paikan/elasticsearch 2011-09-09 13:09:57 +03:00
Shay Banon 9ff4a95ee4 allow to filter also by node _name and _id, make sure to reroute properly after cluster update settings 2011-09-09 13:09:08 +03:00
Benjamin Devèze fae6eaf690 add time value definition of ttl inside source 2011-09-09 11:35:15 +02:00
Shay Banon d00edfb165 better check for defaults on jline, only enable it if not on windows 2011-09-09 10:59:35 +03:00
David Pilato 3fa08968a2 CTRL+C is not working on windows XP and windows 7 2011-09-09 10:29:55 +03:00
Shay Banon 0fcb4e88d4 cleanup ttl support, make sure we close the service on node lifecycle, better settings names, and allow to provide the ttl as a time value 2011-09-09 01:21:05 +03:00
Benjamin Devèze 65aad2da1e add per doc ttl support 2011-09-09 00:03:40 +03:00