Commit Graph

13388 Commits

Author SHA1 Message Date
Robert Muir 3b029b924c fix license headers 2015-05-22 17:47:19 -04:00
Robert Muir 82f85ed1d2 fix license header 2015-05-22 17:42:49 -04:00
Robert Muir 1c15268657 fix license header 2015-05-22 17:41:43 -04:00
Robert Muir 3620ab6698 fix license header 2015-05-22 17:40:19 -04:00
Robert Muir 2635bfdd89 Merge pull request #11312 from rmuir/pkg_priv
make some sec mgr / bootup classes package private and final.
2015-05-22 16:54:21 -04:00
Robert Muir 6a32af1990 make some sec mgr / bootup classes package private and final.
These don't need to be accessible except by bootstrap.
2015-05-22 16:45:48 -04:00
Ryan Ernst 2e9f27a00c Merge pull request #11311 from rjernst/lucene/r1681214
Upgrade to lucene-5.2.0-snapshot-1681214
2015-05-22 13:40:27 -07:00
Ryan Ernst 3ff839d35f Upgrade to lucene-5.2.0-snapshot-1681214 2015-05-22 13:39:58 -07:00
jaymode fd7d6caba7 only load a plugin once from the classpath
Today, when loading plugins from the classpath we take the enumeration
given to us by the classloader and attempt to load every URL. This can
cause issues as certain classloaders, such as groovy's, will return the same
URL multiple times in the enumeration. When this happens, startup can fail
with guice errors as bindings have already been registered.

To workaround this, we create a set from the URLs returned by the classloader
to provide uniqueness.
2015-05-22 15:18:22 -04:00
Simon Willnauer d33f0e2527 Add basic javadocs to TransportNodesListGatewayStartedShards 2015-05-22 21:14:45 +02:00
Adrien Grand aa98ae5240 Search: Do not specialize TermQuery vs. TermsQuery.
We had some code that created a TermQuery instead of a TermsQuery when there
was a single term, which is not useful anymore now that TermsQuery rewrites to
a disjunction when there are few terms:
  https://issues.apache.org/jira/browse/LUCENE-6360
2015-05-22 19:28:49 +02:00
Jack Conradson f47d993715 Search: Refactor of MultiValueMode removing apply and reduce
Simplification of MultiValueMode by removing the apply and reduce
methods for each mode. This creates a more consistent environment for
sorting methods since all sorting must now go through select methods.
This allows for better error handling and better encapsulation for
sorting fields with multiple values.

Note that apply and reduce had inconsistencies in the code base
prior to this change since different calls were assuming that the
accumulator for apply was the first input versus the second input.

Also added is an UnsortedNumericDoubleValues interface to allow
customized values to be input into the different sort modes. This
prevents the need for apply/reduce outside of MultiValueMode.

closes #11290
2015-05-22 10:10:58 -07:00
Shay Banon 2eaaef571c Merge pull request #11304 from kimchy/upgrade_netty_3_10_3
Upgrade to Netty 3.10.3
2015-05-22 18:42:16 +02:00
Britta Weber 4d0b40ca52 Merge pull request #11235 from nik9000/seal_docs
Rewrote some _seal documentation
2015-05-22 18:24:23 +02:00
Alexander Reelsen 85720d8a1c Logging: Add logging for failed TTL purges
In order to get some information if the TTL purger thread could
successfully delete all documents per bulk exection, this commit
adds some logging. TRACE level logging will potentially contain
a lot of information about all the bulk failures.

Closes #11019
2015-05-22 17:40:02 +02:00
Clinton Gormley cde2c91b5a Docs: Example blocks can't contain warnings 2015-05-22 17:37:58 +02:00
Shay Banon 2f00a27042 Upgrade to Netty 3.10.3 2015-05-22 17:37:44 +02:00
Clinton Gormley 631e03c872 Docs: Tidied up term vectors docs
Moved annotations out of titles
Made the example titles into example blocks
2015-05-22 17:19:12 +02:00
Nik Everett 6da1e858dc Rewrote some _seal documentation
The first two paragraphs were confusing to me so I tried to rewrite them.

I removed some passive voice because it irks me.
2015-05-22 10:51:21 -04:00
Robert Muir 52bcb1b1a3 remove logging properties 2015-05-22 09:26:30 -04:00
markharwood 8c3500a676 Aggregation fix: Sampler agg could not be used with Terms agg’s order.
The Sampler agg was not capable of collecting samples for more than one parent bucket.
Added a Junit test case and changed BestDocsDeferringCollector to internally maintain collections per parent bucket.

Closes #10719
2015-05-22 14:25:41 +01:00
Robert Muir 75e618d3a2 remove logging properties 2015-05-22 09:25:15 -04:00
Robert Muir 0d3bd6f5fa remove logging properties 2015-05-22 09:24:35 -04:00
Robert Muir 14445adbc1 remove logging properties 2015-05-22 09:23:14 -04:00
Robert Muir b7a69065ee remove logging properties 2015-05-22 09:22:25 -04:00
Robert Muir 07940f1e60 remove logging properties 2015-05-22 09:21:30 -04:00
Robert Muir 3a859ee872 remove logging properties 2015-05-22 09:20:55 -04:00
Robert Muir bd911c121c remove logging properties 2015-05-22 09:20:11 -04:00
Robert Muir 8182efb848 Don't set path.home for integration test 2015-05-22 08:51:53 -04:00
Clinton Gormley 20279a2556 Docs: Rename reference docs to Elasticsearch Reference 2015-05-22 14:49:11 +02:00
Robert Muir a7f7256f19 respect es.logger.level, TODO: fix this in es-parent for all plugins 2015-05-22 08:38:18 -04:00
Adrien Grand 35f4e7cc53 Fix compilation: FieldMapper is not longer generic. 2015-05-22 14:23:20 +02:00
Adrien Grand 42f9053817 Merge pull request #11280 from jpountz/fix/remove_binary_compress
Mappings: Remove the `compress`/`compress_threshold` options of the BinaryFieldMapper.
2015-05-22 14:21:13 +02:00
Adrien Grand 461683ac58 Mappings: Remove the `compress`/`compress_threshold` options of the BinaryFieldMapper.
This option is broken currently since it potentially interprets an incoming
binary value as compressed while it just happens that the first bytes are the
same as the LZF header.
2015-05-22 14:20:42 +02:00
Adrien Grand 44611dc447 Merge pull request #11296 from jpountz/upgrade/lucene-5.2.0-snapshot-1681024
Upgrade to lucene-5.2.0-snapshot-1681024
2015-05-22 14:17:23 +02:00
Simon Willnauer 5cce09b32d [TEST] Use async durability in load tests 2015-05-22 14:06:24 +02:00
Simon Willnauer 4e1fa3c3b4 [TEST] Provide random instance to rarely(Random) instead of using the threadlocal one 2015-05-22 13:49:01 +02:00
Shay Banon 08e87bd81e Async Fetch: Better logging classification + log when ignored 2015-05-22 11:59:44 +02:00
Adrien Grand 2bfac41c8e Upgrade to lucene-5.2.0-snapshot-1681024 2015-05-22 11:36:40 +02:00
javanna afb7aabea7 Internal: replace if with existing MetaData#isAllTypes call in MapperService 2015-05-22 11:28:29 +02:00
Simon Willnauer ada98ba0c4 Allow disabling of sigar via settings
Sigar can only be disabled by removing the binaries. This is tricky for our
tests and might cause a lot of trouble if a user wants or needs to do it.
This commit allows to disable sigar with a simple boolean flag in the settings.

Closes #9582
2015-05-22 10:07:40 +02:00
Robert Muir 8278c53907 remove tabs 2015-05-22 00:14:08 -04:00
Robert Muir a458bfc7a8 remove tabs 2015-05-22 00:10:40 -04:00
Robert Muir 8dabf10c26 remove tabs 2015-05-22 00:08:15 -04:00
Robert Muir fbc74ff339 remove tabs 2015-05-22 00:02:25 -04:00
Robert Muir a7009eeb2a switch to plugin pom 2015-05-21 22:52:44 -04:00
Robert Muir d1945b6b2a switch to plugin pom 2015-05-21 22:52:31 -04:00
Robert Muir 0c92e167ae switch to plugin pom 2015-05-21 22:51:52 -04:00
Robert Muir d82238137d switch to plugin pom 2015-05-21 22:51:30 -04:00
Robert Muir d6aca867fb switch to plugin pom 2015-05-21 22:51:16 -04:00