Colin Goodheart-Smithe
8f68c64f68
Fixes serialisation of Ranges
...
Range aggregation tests were failing (e.g. http://build-us-00.elastic.co/job/es_core_master_metal/12385/testReport/junit/org.elasticsearch.messy.tests/IPv4RangeTests/testPartiallyUnmapped/ ) sometimes because both the string and number versions of form and to were being serialised. This meant that the range aggregator builder objects would not serialise and deserialise to the same bytes before and after the builder had been used. This change makes Range object immutable so the builder doesn't need to worry about the range changing under its feet.
2016-02-15 15:14:09 +00:00
Colin Goodheart-Smithe
ebc745211d
Moved AggregatorBuilder implementations into their own class files
...
Also renamed histogram.AbstractBuilcer to AbstractHistogramBuilder, range.AbstractBuilder to AbstractRangeBuilder and org.elasticsearch.search.aggregations.pipeline.having to org.elasticsearch.search.aggregations.pipeline.bucketselector
2016-02-15 14:09:36 +00:00
Colin Goodheart-Smithe
e546db0753
[DOCS] fix to sampler agg documentation
2016-02-15 13:17:19 +00:00
Clinton Gormley
0a03af263d
Merge pull request #16665 from joynes/patch-1
...
Typo
2016-02-15 13:40:57 +01:00
Clinton Gormley
96dba26d9d
Update index-modules.asciidoc
...
Removed the experimental label from `index.code`
Closes #16644
2016-02-15 13:33:48 +01:00
Colin Goodheart-Smithe
5f489b99bf
fixed docs link error
2016-02-15 12:12:16 +00:00
Colin Goodheart-Smithe
bd2e00d396
review comments
2016-02-15 10:46:24 +00:00
Colin Goodheart-Smithe
1a46628daa
Merge branch 'master' into feature/aggs-refactoring
...
# Conflicts:
# core/src/test/java/org/elasticsearch/search/builder/SearchSourceBuilderTests.java
2016-02-15 10:37:16 +00:00
Colin Goodheart-Smithe
c3d652030c
updated Java API docs with the changes due to aggregator refactoring
2016-02-15 10:34:29 +00:00
Adrien Grand
11ce624343
Merge pull request #16637 from jpountz/feature/text
...
Add a text field.
2016-02-15 10:45:53 +01:00
Adrien Grand
4f8895eae3
Add a text field.
...
This new field is intended to replace analyzed string fields.
2016-02-15 10:43:44 +01:00
Boaz Leskes
0305628c6b
Add some debug logs to testPendingUpdateTask
...
It times out rarely. Hopefully these will help.
2016-02-15 10:15:00 +01:00
Jason Tedor
d313cdd7d0
Assertion handling timestamp in index request
...
This commit adds an assertion that the mapping metadata is not null when
handling a non-default timestamp when no timestamp is provided.
Closes #16596
2016-02-14 14:41:30 -05:00
Clinton Gormley
cca611171c
Document breaking change in terms query/filter in 2.0
...
Closes #14830
2016-02-14 18:13:03 +01:00
Jason Tedor
1fb1ffbac6
Class permission for Groovy references
...
This commit adds a class permission for groovy.lang.Reference so they
can be used in scripts.
Closes #16660
2016-02-14 09:45:40 -05:00
Jason Tedor
3bbd1c129e
Remove host from cat nodes API
...
As the host and ip fields are always equal by design, the host field in
the cat nodes API is redundant and should be removed.
Closes #16656
2016-02-14 09:21:32 -05:00
Ryan Ernst
f1e9292fad
Build: Remove legacy testing and releasing scripts.
...
These scripts are no longer needed:
* build_randomization.rb - it used by CI a long time ago, but no longer
* client_tests_urls.prop - not sure when this was used, but it refers to ancient branches
* download-s3.py - replaced by s3cmd in release scripts
* upload-s3.py - replaced by s3cmd in release scripts
* upgrade-tests.py - these were the old upgrade tests, before the static index bwc tests
2016-02-13 16:43:58 -08:00
Clinton Gormley
3f7693fdc2
Merge pull request #16431 from rcoh/patch-1
...
Add Scala based elasticsearch-client
2016-02-14 01:05:51 +01:00
Clinton Gormley
4746ff8c03
Merge pull request #16426 from tuespetre/patch-1
...
Update network.asciidoc
2016-02-14 00:04:51 +01:00
Clinton Gormley
40db0f9619
Merge pull request #16499 from elastic/pmusa-patch-rm-source-disable
...
Remove _source 'disable' from the create-index documentation
2016-02-13 20:55:32 +01:00
Clinton Gormley
a7aae4a78a
Update cluster_restart.asciidoc
...
Closes #16568
2016-02-13 19:03:20 +01:00
Clinton Gormley
d5f8f92559
Update shards_allocation.asciidoc
...
Closes https://github.com/elastic/elasticsearch/issues/16554
2016-02-13 15:16:42 +01:00
Simon Willnauer
8c1fe37e92
Remove in-place rewriting of SearchSourceBuilder
...
SearchSourceBuilder should be cloned when rewriting, the in-place rewrite
is failing with local transport assertions.
2016-02-13 08:57:32 +01:00
DeDe Morton
25943eb00b
Merge pull request #16647 from dedemorton/reorder_reference_info
...
Change topic order in ingest doc
2016-02-12 17:11:28 -08:00
DeDe Morton
d3e3f19a1f
Change topic order
2016-02-12 15:00:07 -08:00
Simon Willnauer
b679b8bf9a
Merge pull request #16599 from s1monw/add_rewrite_infra
...
Add infrastructure to rewrite query builders
2016-02-12 22:35:41 +01:00
Simon Willnauer
25d6a143d4
Merge branch 'master' into add_rewrite_infra
2016-02-12 22:13:34 +01:00
Zachary Tong
2ebd2ba616
[TEST] Temporarily silence failing test
...
Failure ticket at #16645
2016-02-12 15:36:37 -05:00
Martijn van Groningen
299179e704
logging: exception is first argument
2016-02-12 18:23:22 +01:00
Luca Cavanna
f589fa8013
Merge pull request #16617 from javanna/enhancement/function_score_strict_parsing
...
Function Score Query: make parsing stricter
2016-02-12 17:45:10 +01:00
Luca Cavanna
ca23ee6104
Merge pull request #16640 from javanna/enhancement/remove_copy_constructors
...
Remove copy constructors from request classes and TransportMessage type
2016-02-12 17:21:55 +01:00
javanna
cb1ca92618
move function score to ParseField
2016-02-12 17:15:04 +01:00
javanna
320f356030
use assertNull rather than assertTrue(object == null)
2016-02-12 17:15:04 +01:00
javanna
507b868692
[TEST] make SearchSourceBuilderTests pickier, check that the search source has been read completely
...
Same check is already performed in AbstractQueryTestCase, makes sense to have it here too.
2016-02-12 17:15:04 +01:00
javanna
a624410450
Function Score Query: make parsing stricter
...
Function Score Query now checks the type of token that we are parsing, which makes parsing stricter and allows to throw useful errors in case the json is malformed. It also makes code more readable as in what gets parsed when.
Closes #16583
2016-02-12 17:15:03 +01:00
Nicholas Knize
a3d425573c
Upgrade GeoPointIndexFieldData to support new PREFIX Encoding
...
This commit updates the OrdinalsBuilder and GeoPoint FieldData loader to work with the new PREFIX_ENCODING introduced in lucene-5.5.0. Backcompat is included to support legacy encoding types.
closes #16634
2016-02-12 10:13:17 -06:00
DeDe Morton
53c7c09972
Merge pull request #16623 from dedemorton/add_doc_ingest_geoIP
...
Add ingest plugins to Elasticsearch plugin docs
2016-02-12 07:42:40 -08:00
DeDe Morton
461f329cd8
Add ingest plugins to Elasticsearch plugin docs
2016-02-12 07:37:50 -08:00
DeDe Morton
16e87bbe14
Merge pull request #16620 from dedemorton/add_ingest_doc
...
Add ingest docs to the build
2016-02-12 07:33:06 -08:00
javanna
8d0089c8d8
Remove unused generics type from TransportMessage
...
followup of #15776 , the type is not needed anymore.
2016-02-12 16:31:35 +01:00
Colin Goodheart-Smithe
83885423a0
[TEST] mute DuelFieldDataTests.testDuelGeoPoints()
...
Bug URL = https://github.com/elastic/elasticsearch/issues/16634
2016-02-12 15:20:13 +00:00
javanna
5849646baa
Java api: remove needless copy constructors from request classes
...
After #15776 got in, we don't need these copy constructors anymore. When we used to copy requests it was to make sure that headers and context were copied from the parent requests (e.g. index/delete as part of update). This is not a problem anymore.
2016-02-12 16:16:39 +01:00
Simon Willnauer
6c6ed135c5
wrap lines
2016-02-12 15:37:25 +01:00
Simon Willnauer
84d91c87a1
fix test
2016-02-12 15:34:50 +01:00
Simon Willnauer
9e0ceaa63e
[TEST] fix test to be env agnostic
2016-02-12 15:25:00 +01:00
Simon Willnauer
8d568ce3e1
Move optimization out of BoolQueryBuilder into tests
2016-02-12 15:14:28 +01:00
Simon Willnauer
387a55d5f9
wrap lines
2016-02-12 13:03:21 +01:00
Simon Willnauer
297fb24112
apply fixes after review
2016-02-12 12:53:18 +01:00
Simon Willnauer
b906c8a389
apply fixes after review
2016-02-12 12:53:12 +01:00
Colin Goodheart-Smithe
86b0777392
removes a lot of warnings form the aggregations
2016-02-12 10:47:08 +00:00