Isabel Drost-Fromm
9922931144
Fix occasional build error.
2016-05-17 15:40:53 +02:00
Isabel Drost-Fromm
2d402c732c
Merge branch 'master' into docs/add_autosense_to_query_dsl
2016-05-17 11:59:50 +02:00
Jason Tedor
be0bbce5df
Clarify squashing of pull request commits
...
This commit rewords the note regarding the squashing of pull request
commits to make it clearer that the note applies to everyone and not
just external contributors.
2016-05-16 21:18:49 -04:00
Jack Conradson
bb1fe7797a
Merge pull request #18382 from uschindler/painless_writerRefactoring
...
painless: Refactor WriterUtils to extend ASM GeneratorAdapter
2016-05-16 18:12:06 -07:00
Uwe Schindler
75f27df376
painless: Refactor WriterUtils to extends ASM GeneratorAdapter as "MethodWriter" for easy usage (and more coming later)
2016-05-17 02:25:05 +02:00
Jack Conradson
ed74e53cf5
Merge pull request #18379 from jdconrad/types
...
Fix Bug in Painless Assignment
2016-05-16 16:41:53 -07:00
Jack Conradson
3fd3d367ef
Moved ADefLink to be a marker interface instead.
2016-05-16 15:48:29 -07:00
Ali Beyad
3764789d96
Removed unused AllocationService member in
...
TransportClusterAllocationExplainAction
Closes #18381
2016-05-16 18:41:36 -04:00
Jason Tedor
0037a579a4
Add note to contributing docs about force push
...
This commit adds a note to the contributing docs regarding force pushing
during the review process.
Relates #18380
2016-05-16 17:34:32 -04:00
Jack Conradson
3f23186712
Merge branch 'master' into types
2016-05-16 14:22:59 -07:00
Jack Conradson
95a1b5b2a3
Fixed a casting bug in Painless.
2016-05-16 14:18:05 -07:00
Robert Muir
e69305ae21
Merge pull request #18372 from rmuir/painless_whitelist_expansion
...
painless whitelist expansion
2016-05-16 17:08:49 -04:00
Robert Muir
8d4c1befe5
Merge pull request #18364 from rmuir/nukeRunAsFloat
...
Remove LeafSearchScript.runAsFloat(): Nothing calls it.
2016-05-16 17:08:25 -04:00
Jack Conradson
1d394868d4
Merge branch 'master' into types
2016-05-16 12:43:24 -07:00
Jack Conradson
43344eee82
Add more def tests including checking bytecode for specific
...
optimizations.
2016-05-16 12:42:25 -07:00
Jack Conradson
f664fa5f33
Merge pull request #18350 from uschindler/painless_isAssignableFrom
...
Use isAssignableFrom instead of relying on ClassCastException
2016-05-16 12:41:09 -07:00
Jack Conradson
a2c2628a78
Merge pull request #18359 from uschindler/painless_removeStoreBoxing
...
Remove boxing when loading and storing values in "def" fields/arrays, remove boxing onsimple method calls of "def" methods
2016-05-16 12:11:37 -07:00
Uwe Schindler
d6cbbdeb98
painless: Some reformatting in EChain to make it clear if "this" or inner "expression" is affected
2016-05-16 21:04:03 +02:00
Uwe Schindler
b05ac87a5d
painless: Add Jack's test
2016-05-16 20:37:51 +02:00
Uwe Schindler
3a5ef68ad0
painless: Fix issue with dup and cast
2016-05-16 20:31:27 +02:00
Adrien Grand
864ed04059
Lessen leniency of the query dsl. #18276
...
This change does the following:
- Queries that are currently unsupported such as prefix queries on numeric
fields or term queries on geo fields now throw an error rather than returning
a query that does not match anything.
- Fuzzy queries on numeric, date and ip fields are now unsupported: they used
to create range queries, we now expect users to use range queries directly.
Fuzzy, regexp and prefix queries are now only supported on text/keyword
fields (including `_all`).
- The `_uid` and `_id` fields do not support prefix or range queries anymore as
it would prevent us to store them more efficiently in the future, eg. by
using a binary encoding.
Note that it is still possible to ignore these errors by using the `lenient`
option of the `match` or `query_string` queries.
2016-05-16 17:37:00 +02:00
Colin Goodheart-Smithe
83df20b83b
Merge pull request #18370 from colings86/refactor/query-profiler
...
Refactor of query profile classes to make way for other profile implementations
2016-05-16 16:16:05 +01:00
Colin Goodheart-Smithe
e37e8af5e2
Refactor of query profile classes to make way for other profile implementations
2016-05-16 16:15:50 +01:00
Rodolfo Martinez
5a33fdbac7
Fix response format of /customer/external/1?pretty
...
The response format is displaying elements "found" and "source" in the
same lines and they should appear on their own separate lines.
Closes #18374
2016-05-16 10:37:27 -04:00
Robert Muir
6ac2877c32
Merge pull request #18371 from uschindler/painless_debuggerCleanup
...
painless: Small cleanup of Debugger class to use StringWriter
2016-05-16 09:58:50 -04:00
Robert Muir
2fc7ca46e1
expand whitelist for basic types
2016-05-16 09:56:29 -04:00
Uwe Schindler
07e4f416e6
painless: Small cleanup of Debugger class to use StringWriter
2016-05-16 15:52:14 +02:00
Nik Everett
f569576c5b
Switch default batch size for reindex to 1000
2016-05-16 08:19:29 -04:00
Colin Goodheart-Smithe
a45fc35d94
Adds the ability to dynamically create fields with dots in the field name
...
Adds a methods to find (and dynamically create) the mappers for the parents of a field with dots in the field name
2016-05-16 09:36:08 +01:00
Colin Goodheart-Smithe
6eda9f5df6
more tests following review
2016-05-16 09:07:22 +01:00
Colin Goodheart-Smithe
0c449fee4a
small fix following rebase on master
2016-05-16 09:07:22 +01:00
Colin Goodheart-Smithe
66d0bdab0c
review comments
2016-05-16 09:07:22 +01:00
Colin Goodheart-Smithe
ab3121c871
Adds a methods to find (and dynamically create) the mappers for the parents of a field with dots in the field name
2016-05-16 09:07:22 +01:00
Robert Muir
8edf213492
Remove LeafSearchScript.runAsFloat(): Nothing calls it.
2016-05-15 22:59:28 -04:00
Uwe Schindler
65aca4f71c
painless: make compound statement like a[1]++ work with def. There was also a bug with the size of LDefArray: fixed
2016-05-15 23:00:32 +02:00
Uwe Schindler
d221cd14d2
painless: Also remove boxing for reads and method calls
2016-05-15 19:49:25 +02:00
Clinton Gormley
897fe9108a
Removed docs from mapper-attachment about copy_to
...
Closes #18361
2016-05-15 19:32:31 +02:00
Uwe Schindler
604bcd9320
painless: Make field stores not box; use GeneratorAdapter.invokeDynmaic for consistency with other method calls
2016-05-15 18:31:53 +02:00
Michael McCandless
0d570352dd
Merge pull request #18355 from mikemccand/iterables_flatten
...
Iterables.flatten should not pre-cache the first iterator
2016-05-15 10:21:35 -04:00
Michael McCandless
d865910c13
Merge pull request #18357 from mikemccand/imc_bytes_tracking
...
Fix concurrency bug in IMC that could cause it to check too infrequently
2016-05-15 10:18:29 -04:00
Uwe Schindler
8195ef9e7a
painless: Transform more try-catch-ClassCastException to isAssignableFrom
2016-05-15 01:06:29 +02:00
Mike McCandless
8d7db7fd7a
remove whitespace
2016-05-14 18:50:10 -04:00
Mike McCandless
ded8b400b0
Fix concurrency bug in IMC that could lead to negative total indexing bytes
2016-05-14 18:47:26 -04:00
Mike McCandless
48dca45564
leave Iterables.flatten pre-caching the outer Iterable
2016-05-14 17:10:17 -04:00
Robert Muir
c183e4b6eb
Merge pull request #18352 from uschindler/painless_cleanups
...
painless: Some cleanups
2016-05-14 17:00:19 -04:00
Mike McCandless
53c2f8b4b6
improve javadocs
2016-05-14 13:46:34 -04:00
Mike McCandless
cf2af8961b
Iterables.flatten should not pre-cache the first iterator
2016-05-14 13:39:48 -04:00
Uwe Schindler
7211017813
painless: Some cleanups
2016-05-14 17:23:29 +02:00
Uwe Schindler
c78bf8c867
painless: Use isAssignableFrom instead of relying on ClassCastException
2016-05-14 16:04:18 +02:00
Ali Beyad
d3d57da89f
Removes unused methods in the o/e/common/Strings class.
...
Closes #18346
2016-05-14 08:08:30 -04:00