Commit Graph

3866 Commits

Author SHA1 Message Date
Shay Banon 9e6cfa77a5 better compressed input offset data structure 2012-06-20 16:01:09 +02:00
Shay Banon b009c9c652 Stored Fields Compression, closes #2037.
Compressing the stored fields file (the .fdt file) directly allows to have better compression on the size of the index, specifically when indexing (and storing) small documents. The compression will be considerably more effective compared to compressing each doc on its own (when setting compress on the _source mapper). The downside is that more data needs to be uncompressed when loading documents.

The settings to control it is `index.store.compress.stored_fields` set to `true` (it defaults to `false`), and can be enabled dynamically using the update settings API. This allows to enabled compression at a later stage (i.e. old time based indices), and then optimize the index to make sure it gets compressed.
2012-06-20 05:31:34 +02:00
Shay Banon fbf4c70af9 add simple compression bench 2012-06-19 13:15:44 +02:00
Martijn van Groningen d66f401ce6 Better fix for mv field highlighting issue #1994 2012-06-19 04:13:47 +02:00
Shay Banon aebd27afbd abstract compression
abstract the LZF compression into a compress package allowing for different implementation in the future
2012-06-19 04:07:11 +02:00
Shay Banon 1a98a9184e fix test to shutdown threadpool 2012-06-19 03:37:08 +02:00
Shay Banon 7b3b130a62 fix tests to shutdown threadpool 2012-06-19 03:33:44 +02:00
Shay Banon 0a459f7ceb using node settings to get the node name for thread names 2012-06-19 03:03:11 +02:00
Shay Banon 0f47518752 add getTerms for uid filter 2012-06-18 15:04:49 +02:00
Shay Banon 0c7690d105 disable lastGc
disable  using lastGc, it gives strange results...
2012-06-16 15:40:44 +02:00
Chris Male 040fa2581a Added GeoDistance test which verifies the difference in behaviour between ARC and PLANE, causing elliptical results 2012-06-15 22:55:45 +02:00
Shay Banon 14fc3910ff better log message 2012-06-14 22:41:11 +02:00
Shay Banon 2280915d3c upgrade to joda 2.1
with the hack of duplicating BaseDateTime to remove the volatile
2012-06-14 21:57:01 +02:00
Shay Banon 982c8b4664 fix test to work with new noramalization 2012-06-14 15:55:33 +02:00
Chris Male 2315e6d239 Incorporated changes to normalization of latitude and longitudes so latitude normalization is correct and longitude is normalized at the same time 2012-06-14 15:43:36 +02:00
Shay Banon d5b84bb81b make sure we run in headless mode
applies mainly to the attachments (tika) plugin
2012-06-14 13:14:03 +02:00
Shay Banon 133bd72f8d Multi Search API: Allow to set search_type on REST endpoint URI to apply to all search requests, closes #2023. 2012-06-13 20:47:24 +02:00
Shay Banon cf1fd26346 fix imports 2012-06-13 16:24:06 +02:00
Ozgur Orhan b80eee305e Enum -> toString -> toLowerCase fails for TR locale (for opType especially) 2012-06-13 16:20:55 +02:00
Shay Banon cecb762ede use an array to represent the keys in the uid filter
fix equals and hashcode as well
2012-06-13 16:08:03 +02:00
Shay Banon dfe6e58e37 use an array to represent the keys in the uid filter 2012-06-13 16:03:45 +02:00
Shay Banon 6eb419649a better/faster parsing of update request (with upsert) 2012-06-13 13:12:37 +02:00
Shay Banon 0b4fe4add3 rename doc to upsert in update API
a better descriptive name for it, and won't clash with future features on the update api
2012-06-13 12:42:10 +02:00
Benjamin Devèze e4b11e0b15 fix bug index.ttl.disable_purge should be in IndexMetaData 2012-06-12 23:51:32 +02:00
Shay Banon feb81dd365 improve filter cache cached value to store docset only 2012-06-12 23:26:15 +02:00
Shay Banon 4f59e5d283 combine cacheable method of bit sets into one method 2012-06-12 19:49:59 +02:00
Shay Banon 83df0587ad move remaining CHM construction to the factory method 2012-06-12 17:26:54 +02:00
Shay Banon ab35e7ce7a move remaining CHM construction to the factory method 2012-06-12 17:26:36 +02:00
Shay Banon 95fc7a39a3 move remaining CHM construction to the factory method 2012-06-12 17:23:01 +02:00
Shay Banon de3c74ab96 add a flag to restore old multi value behavior with fast vector highlighter 2012-06-12 00:19:56 +02:00
Martijn van Groningen 1319ed9322 Fixes highlight issue for multivalues fields described in issue #1994 2012-06-11 23:44:45 +02:00
Shay Banon 9798d3e8fb Discovery: Join process to better validate join request, closes #2019.
The join proces received on the master from a node joining the cluster now tries to validate by connecting to the relevant node. It should also send a message to it to double check that all is in order.
2012-06-11 23:44:27 +02:00
Shay Banon 2a80e14284 .DS_Store file in .deb package, closes #2017. 2012-06-11 21:06:52 +02:00
Shay Banon 53be815e22 Init script in Debian package ignores some options in elasticsearch.yml, closes #1765. 2012-06-11 13:49:59 +02:00
Shay Banon 8072af9078 Allow to pass es.default. settings to the process, using it as default value unless specified in the config file, closes #2016. 2012-06-11 13:30:55 +02:00
Aurelien Requiem 6d867126c9 lintian rule : missing-dependency-on-libc on lib/sigar/libsigar-amd64-linux.so
* added "linc6" as a package dependency as it's required for file
	  lib/sigar/libsigar-amd64-linux.so and lib/sigar/libsigar-x86-linux.so
	  Refer to Debian Policy Manual section 8.6 (Dependencies between the
	  library and other packages - the shlibs system) for details.
2012-06-11 12:29:09 +02:00
Aurelien Requiem 6d477aee0d lintian rule : possible-unindented-list-in-extended-description in src/deb/control/control
* replaced asterisk (*) in the package description to match lintian
	  rule. Refer to Debian Policy Manual section 5.6.13 (Description)
	  for details
2012-06-11 12:29:09 +02:00
Aurelien Requiem 8ad6e7a372 lintian rule : maintainer-script-needs-depends-on-adduser postinst
* added dependency in control for "adduser" package as the command is
	  used in the postinst script
2012-06-11 12:29:08 +02:00
Aurelien Requiem 17a28b0fe0 lintian rule : extended-description-line-too-long in src/deb/control/control
* reduced description lines to 80 chars max to comply with lintian
2012-06-11 12:29:08 +02:00
Aurelien Requiem 18f4caaef7 lintian rule : executable-not-elf-or-script in /usr/share/elasticsearch/bin/elasticsearch.in.sh
* added a proper shell on top on the script
2012-06-11 12:29:08 +02:00
Shay Banon fd3c4d14af use djb hash to choose doc lock, and lock pool 2012-06-11 02:02:01 +02:00
Shay Banon e53db1a478 Quoted query_string gives NullPointerException with not_analyzed field (0.19.4), closes #2006. 2012-06-11 00:24:17 +02:00
Shay Banon 8f0bc799c6 Upgrade to latest jst166y and jsr166e
Embed the code now in our source, since jsr166e jar generation with 1.6 instead of 1.7 is complicated when doing it on its own as it relies on ThreadLocalRandom, and we have it in jsr166y
2012-06-10 00:42:54 +02:00
Shay Banon 43483b1237 upgrade to trove 3.0.3 2012-06-09 23:01:51 +02:00
Shay Banon 726ec8b9ff Allow to filter client and "just" data nodes from controlling elected master (default client to true), closes #2014. 2012-06-09 01:28:02 +02:00
Shay Banon 6c67570589 fix wrong change to version 2012-06-08 23:22:38 +02:00
Shay Banon 77e3cc1790 Upgrade to Netty 3.5.0.Final, closes #2013. 2012-06-08 23:20:45 +02:00
Shay Banon 395a09db03 convert to json wasn't taking reformat flag properly into account 2012-06-08 13:54:07 +02:00
Nicolas Lalevée 4df978e479 Fix an incorrect error message when query parse fail, closes #1996 2012-06-08 13:46:05 +02:00
Nicolas Lalevée d49d58058c When there's an error on elasticsearch side, in some native script for instance, explicit it in the error message and at least print the name of the root exception visible to the client. 2012-06-08 13:32:22 +02:00