Tal Levy
c55f9bbd9b
Merge pull request #16132 from talevy/holdmytag
...
[Ingest] add an AbstractProcessor to help hold the re-used processorTag variable
2016-01-21 07:30:29 -08:00
Simon Willnauer
b1afde257b
Drop multi data path upgrade tool
...
Since we require upgrades to 2.x we don't need this anymore on master.
2016-01-21 15:57:52 +01:00
Greg Marzouka
8fffc474dd
Merge pull request #15549 from gmarz/master
...
Fix Windows service installation failure
2016-01-21 09:33:47 -05:00
Simon Willnauer
e8b9880211
Clarify semantics when defaults are overwritten.
...
Default headers are now read-only fallbacks if the key is actually not in
the headers map. That way we never serialize them across the wire and also never
prevent them from being overwritten.
2016-01-21 15:30:25 +01:00
Isabel Drost-Fromm
67524571cb
Merge pull request #16124 from MaineC/enhancement/15178-sort-order-writable
...
Make sort order enum writable.
2016-01-21 14:59:07 +01:00
Isabel Drost-Fromm
086633a5ca
Make sort order enum writable.
...
Related to #15178
2016-01-21 14:44:26 +01:00
Simon Willnauer
142547271e
Merge branch 'master' into trash_context_and_headers
2016-01-21 14:42:15 +01:00
Simon Willnauer
f3c8068ba6
Merge pull request #16145 from s1monw/feature/ingest
...
Fix IngestMetadata parsing and add unittest
2016-01-21 14:40:36 +01:00
Simon Willnauer
ae48422072
Fix IngestMetadata parsing and add unittest
2016-01-21 14:19:26 +01:00
Isabel Drost-Fromm
ca00808387
Merge pull request #16122 from MaineC/enhancement/15178-distance-unit-writable
...
Make DistanceUnit writable.
2016-01-21 14:03:39 +01:00
Isabel Drost-Fromm
d2dac8427e
Make distance unit writable.
...
Relates to #15178
2016-01-21 13:40:19 +01:00
Martijn van Groningen
b61dc6d69c
cleanup generics for the ingest action filters
2016-01-21 12:01:10 +01:00
Martijn van Groningen
44465c94f8
Merge remote-tracking branch 'es/master' into feature/ingest
2016-01-21 11:46:27 +01:00
Simon Willnauer
eaad8924d8
Merge branch 'bring_back_node_throttle'
2016-01-21 11:31:29 +01:00
Simon Willnauer
ebc9dcf0c7
Cleanup index settings updaters
2016-01-21 11:31:00 +01:00
Simon Willnauer
d9422b5e89
Bring back node throttle type which was lost after index setting refactoring
...
This has caused some test failures lately especially on window (which is likely caused
by the rather bad performance of the windows test machines).
See one failure here:
http://build-us-00.elastic.co/job/es_core_master_window-2008/2934/
This fix has now also a unittest that tests this issue separately.
2016-01-21 11:30:54 +01:00
Christoph Büscher
08334af189
Merge pull request #16126 from cbuescher/completionSuggestionParse-ParseFields
...
Suggest: Fix "analyzer" and "size" parsing and move to shared ParseFields in CompletionSuggestParser
2016-01-21 11:08:44 +01:00
Nik Everett
4a71898e09
Merge pull request #16107 from nik9000/unraw_actions
...
Cleanup the raw generics in ActionFilter
2016-01-20 21:54:49 -05:00
Tal Levy
f1204cb1ab
add an AbstractProcessor to help hold the re-used processorTag variable
2016-01-20 14:34:26 -08:00
Martijn van Groningen
cdecf725f8
The nonNestedFilter should always be included if no types have been specified and
...
null can only be returned if there are no type or alias filter and the index has nested fields.
2016-01-20 23:16:42 +01:00
Martijn van Groningen
7914d0f940
Several MapperService cleanups:
...
* Cleaned up MapperService#searchFilter(...) and moved it DefaultSearchContext, since it that class was the only user. As part of the cleanup percolate query documents are no longer excluded from the search response.
* Removed resolveClosestNestedObjectMapper(...) method as it was no longer used.
* Removed DocumentTypeListener infrastructure. Before it was used by the percolator and parent/child, but these features no longer use it.
Closes #15924
2016-01-20 22:26:56 +01:00
Tal Levy
437fe6c056
make DeDotProcessor's constructor package-private
2016-01-20 12:12:40 -08:00
Jason Tedor
bd1eefa5be
Revert temporary compiler bug workaround
...
This reverts commit df5f1b1ee9da7d45e20880e411d7e5280ef5ca59.
Closes #16097
2016-01-20 14:37:12 -05:00
Jason Tedor
22318cb7e4
Remove import in IndicesClusterStateService.java
...
This commit removes an unused import from
o/e/i/c/IndicesClusterStateService.java.
2016-01-20 13:18:37 -05:00
Christoph Büscher
1550d0f013
Switch to using RescoreBuilder in SearchSourceBuilder
2016-01-20 19:09:02 +01:00
Christoph Büscher
428043700d
RescoreBuilder: Add parsing and creating of RescoreSearchContext
...
Adding the ability to parse from xContent to the rescore builder.
Also making RescoreBuilder an interface and renaming the current
base builder that encapsulates the `window_size` setting the the
concrete rescorer implementation to RescoreBaseBuilder.
2016-01-20 18:45:54 +01:00
Martijn van Groningen
b9dc5acf2c
Cleanup ParentFieldMapper:
...
* Remove remaining 1.x bwc logic.
* Stop storing stored fields and indexed terms. The _parent field's only purpose is to support joins between parent and child type and only storing doc values is sufficient.
* In the mapping the parent field mapper is now known under '{parent}#{child}' key, because this is the field the parent/child join uses too.
* Added new sub fetch phase to lookup that _parent field from doc values field if that is required (before this was fetched from stored _parent field)
* Removed the ability to query directly on `_parent` in the query dsl. Instead the `{parent}#{child}` field should be used. Under the hood a doc values query is used instead of a term query, because only doc values fields are stored now.
* Added a new `parent_id` query to easily query child documents with a specific parent id without having to know what join field to use
* Also in aggregations `_parent` field can't be used any more and `{parent}#{child}` field name should be used instead to aggregate directly on the _parent join field.
2016-01-20 16:56:22 +01:00
Martijn van Groningen
d2c608e1a8
fix test bug
2016-01-20 16:51:27 +01:00
Martijn van Groningen
e4a142f792
added constructors for the required parameters and removed the body of all validate methods
2016-01-20 16:40:10 +01:00
Yannick Welsch
303b430480
Merge pull request #16096 from ywelsch/feature/prefer-previous-primary
...
Prefer nodes that previously held primary shard for primary shard allocation
2016-01-20 16:32:55 +01:00
Martijn van Groningen
faf9ca2122
brought back the body of the validate() methods. This is still useful if no setter has been invoked.
2016-01-20 16:02:10 +01:00
Martijn van Groningen
b0c7096e2f
changed delete pipeline request to getters and setters in right format and validate the provided id in the setId(...) method
2016-01-20 16:00:44 +01:00
Martijn van Groningen
f546b27ea0
removed the ClusterService constructor dependency from PipelineStore
2016-01-20 15:55:24 +01:00
Martijn van Groningen
fd31d6afdf
Let NodeService implement closable and let NodeService delegate to IngestService
2016-01-20 15:46:48 +01:00
Martijn van Groningen
977bbaba02
fixed various small comments
2016-01-20 15:44:32 +01:00
Clinton Gormley
d9c0b94d28
Update context-suggest.asciidoc
...
"context" -> "contexts" in completion suggester docs
2016-01-20 15:42:22 +01:00
Martijn van Groningen
7aeb360932
use AbstractRunnable
2016-01-20 15:26:37 +01:00
Christoph Büscher
5ce14cc356
Fixing small issues and using ParseFields in CompletionSuggestParser
2016-01-20 15:20:38 +01:00
Martijn van Groningen
9fe408adbd
use ActionListenerResponseHandler
2016-01-20 15:13:27 +01:00
Martijn van Groningen
136e0fe1af
remove parsing logic with ObjectParser
2016-01-20 15:03:58 +01:00
Simon Willnauer
88bb79fd82
Merge pull request #16120 from s1monw/validate_settings_key
...
Validate the settings key if it's simple chars separated by `.`
2016-01-20 14:25:44 +01:00
Simon Willnauer
f6db00fd33
push feedback from mr. regex optimizer
2016-01-20 14:19:29 +01:00
Martijn van Groningen
5eaaa95c61
address SimulatePipelineRequest comments
2016-01-20 14:16:41 +01:00
Martijn van Groningen
2645fc9145
renamed SimulateDocumentSimpleResult to SimulateDocumentBaseResult and added jdocs
2016-01-20 14:11:45 +01:00
Simon Willnauer
0941604919
Validate the settings key if it's simple chars separated by .
...
This adds additional safety to the settings since we don't have a full list of them
yet and it caught bugs already in tests.
2016-01-20 14:03:10 +01:00
Martijn van Groningen
8b520111d0
fix PutPipelineRequest comments
2016-01-20 14:00:55 +01:00
Martijn van Groningen
f7024bc4dd
maintain a list of ingest nodes in the cluster state instead of creating it on the spot
2016-01-20 13:55:26 +01:00
Martijn van Groningen
c663aa0dec
addressed IngestProxyActionFilter comments
2016-01-20 13:44:27 +01:00
Martijn van Groningen
8a7f3d9d6f
addressed various comments
2016-01-20 13:35:15 +01:00
Simon Willnauer
d11a11e9f0
Merge pull request #16118 from s1monw/refresh_all_the_time_if_api
...
Don't guard IndexShard#refresh calls by a check to isRefreshNeeded
2016-01-20 13:18:55 +01:00