Lee Hinman
3a458af0b7
Remove /_optimize REST API endpoint
...
The `/_optimize` endpoint was deprecated in 2.1.0 and can now be removed
entirely.
2015-10-27 10:17:16 -06:00
Simon Willnauer
935a8fc3d4
Merge pull request #14306 from s1monw/no_lenient_on_module
...
Don't be lenient in PluginService#processModule(Module)
2015-10-27 16:52:21 +01:00
Simon Willnauer
6fbfdb0e12
remove broken Stream registration API
2015-10-27 16:25:58 +01:00
javanna
dc900a08a6
Remove "query" query and fix related parsing bugs
...
We have two types of parse methods for queries: one for the inner query, to be used once the parser is positioned within the query element, and one for the whole query source, including the query element that wraps the actual query.
With the search refactoring we ended up using the former in count, cat count and delete by query, whereas we should have used the former. It ends up working properly given that we have a registered (deprecated) query called "query", which used to allow to wrap a filter into a query, but this has the following downsides:
1) prevents us from removing the deprecated "query" query
2) we end up supporting a top level query that is not wrapped within a query element (pre 1.0 syntax iirc that shouldn't be supported anymore)
This commit finally removes the "query" query and fixes the related parsing bugs. We also had some tests that were providing queries in the wrong format, those have been fixed too.
Closes #13326
Closes #14304
2015-10-27 14:54:30 +01:00
Simon Willnauer
dde5e83ff4
Merge pull request #11258 from crate/b/reduce_cluster_state_updates_on_index_deletion
...
Bulk cluster state updates on index deletion
2015-10-27 14:49:40 +01:00
Simon Willnauer
67cdd21573
Don't be lenient in PluginService#processModule(Module)
...
We today catch the exception and move on - this is no good, we should just fail
all the way if something can't be loaded or processed
2015-10-27 14:48:19 +01:00
Simon Willnauer
82ebd28c14
Merge pull request #14303 from s1monw/open_up_extension_points
...
Open up QueryCache and SearcherWrapper extension points
2015-10-27 14:19:36 +01:00
Philipp Bogensberger
efa6c0b37f
perform only one cluster state update per DeleteIndexRequest
2015-10-27 14:07:00 +01:00
Simon Willnauer
573c9948e3
fix test
2015-10-27 12:57:19 +01:00
Simon Willnauer
f7fe2c2007
Open up QueryCache and SearcherWrapper extension points
...
This commit makes QueryCache and SearcherWrappoer registration public
otherwise plugins can't access those extension points due to security restrictions.
2015-10-27 12:52:52 +01:00
Simon Willnauer
59a71b0441
Merge pull request #14293 from s1monw/fold_in_index_cache_module
...
Fold IndexCacheModule into IndexModule
2015-10-27 11:45:40 +01:00
Simon Willnauer
04478a5a13
remove dead code
2015-10-27 11:21:30 +01:00
Simon Willnauer
b7eb43cef6
make IndicesWarmer final in BitsetFilterCache
2015-10-27 11:21:30 +01:00
Simon Willnauer
6ac4be313a
simplify the IndexWarmer interface even more
2015-10-27 11:21:30 +01:00
Simon Willnauer
cc131eb328
fix tests
2015-10-27 11:21:30 +01:00
Simon Willnauer
a5e5a5025b
Fold IndexCacheModule into IndexModule
...
This commit brings all the registration etc. from IndexCacheModule into
IndexModule. As a side-effect to remove a circular dependency between
IndicesService and IndicesWarmer this commit also cleans up IndicesWarmer and
separates the Engine from the warmer.
2015-10-27 11:21:30 +01:00
Jason O'Donnell
86c21f3c39
Fixing typo
2015-10-26 16:49:05 -04:00
Jason O'Donnell
c7060c1b63
Fixing typo
2015-10-26 16:48:20 -04:00
Jason O'Donnell
c7d47e0f4f
Fixing typo
2015-10-26 16:47:44 -04:00
Jason O'Donnell
42fb690a1c
Fixing typo
2015-10-26 16:46:36 -04:00
Jason O'Donnell
73f620907d
Fixing typo
2015-10-26 16:43:25 -04:00
Jason O'Donnell
05d5d9bd12
Fixing typo
2015-10-26 16:42:45 -04:00
Simon Willnauer
3146cd21e2
Merge pull request #14285 from s1monw/remove_circular_dep
...
Remove circular dependency between IndicesService and IndicesStore
2015-10-26 21:32:50 +01:00
Yannick Welsch
5959058719
Unique repository names for rest tests
2015-10-26 21:02:25 +01:00
Simon Willnauer
cbcd7a9de7
apply review comments
2015-10-26 20:58:34 +01:00
Simon Willnauer
fc5a60c24f
fix constants
2015-10-26 20:56:01 +01:00
Simon Willnauer
cc3532f593
Remove circular dependency between IndicesService and IndicesStore
...
This commit introduces a new IndexStoreConfig that is passed to
IndexStore instances instead it's pretty messy parent service.
2015-10-26 20:56:01 +01:00
Jason Tedor
fcc2c19600
Merge pull request #14288 from jasontedor/plugin-list
...
Fix plugin list command error message
2015-10-26 14:08:08 -04:00
Jason Tedor
65fccb9478
Fix plugin list command error message
...
Closes #14287
2015-10-26 14:02:48 -04:00
Yannick Welsch
2f10300a03
Merge pull request #14247 from ywelsch/feature/cat-snapshots
...
Add cat API for repositories and snapshots
2015-10-26 18:40:39 +01:00
Adrien Grand
f69c350960
Revert "Improve `min_score` implementation."
...
This reverts commit 56ea65b0f8
.
2015-10-26 18:37:35 +01:00
Yannick Welsch
ca75b7b6ce
Add cat API for repositories and snapshots
...
Closes #14247
Closes #13919
2015-10-26 18:37:10 +01:00
Christoph Büscher
593df189e4
Tests: run base query tests for more than one random query
2015-10-26 17:39:14 +01:00
Simon Willnauer
cb3122baab
Merge pull request #14284 from s1monw/fold_similarity_module_into_index_module
...
Fold SimilarityModule into IndexModule
2015-10-26 14:47:09 +01:00
Simon Willnauer
cdcc5da756
Remove unused import
2015-10-26 14:23:28 +01:00
Simon Willnauer
586bfc720d
Fold SimilarityModule into IndexModule
...
IndexModule is the central extension point we should centralize the extension mechanism
towards removing guice entirely on the index level.
2015-10-26 14:21:12 +01:00
Adrien Grand
1804e7d9e8
Merge pull request #14202 from jpountz/enhancement/min_score
...
Improve `min_score` implementation.
2015-10-26 14:10:36 +01:00
Simon Willnauer
21f3cb09c2
Merge pull request #14279 from s1monw/no_guice_on_store
...
Remove guice injection from IndexStore and friends
2015-10-26 14:08:31 +01:00
Simon Willnauer
d6455a5a76
Use actual parameter passed to the ctor
2015-10-26 13:57:27 +01:00
Hendrik Saly
58f2b6ca47
Add Kerberos/SPNEGO Shield custom realm
...
Closes #14282
2015-10-26 13:53:04 +01:00
Clinton Gormley
d2bb289c64
Merge pull request #14280 from salyh/patch-1
...
Added IMAP/POP3 Mailimporter to documentation
2015-10-26 13:47:44 +01:00
Simon Willnauer
5ffdf15f02
Remove guice injection from IndexStore and friends
...
This commit replaces dependency injection from IndexStore and subclasses
and replaces it with dedicated set of dependencies.
2015-10-26 12:32:34 +01:00
Simon Willnauer
3b82b585f3
Use Long.MAX_VALUE to indicate that there has not yet been any modifications
...
Relates to #14275
2015-10-26 12:30:58 +01:00
Adrien Grand
56ea65b0f8
Improve `min_score` implementation.
...
This changes how `min_score` is implemented both for `function_score` and the
search request parameter to confirm whether the minimum score is met in the
`matches()` phase of a TwoPhaseIterator.
2015-10-26 12:01:50 +01:00
Simon Willnauer
a2e3dc59d8
Merge pull request #14275 from s1monw/renew_syn_on_merge
...
Flush big merges automatically if shard is inactive
2015-10-26 11:41:04 +01:00
Simon Willnauer
c41dd965fb
s/ / /
2015-10-26 11:08:10 +01:00
Simon Willnauer
edef67ffdc
Merge branch 'master' into renew_syn_on_merge
2015-10-26 11:05:57 +01:00
Yannick Welsch
c335b3a176
Fix AckClusterUpdateSettingsIT.testClusterUpdateSettingsAcknowledgement() after changes in #14259
...
Closes #14278
2015-10-26 11:02:30 +01:00
Simon Willnauer
969b385c59
assign IMC frst
2015-10-26 10:59:27 +01:00
Simon Willnauer
d07863c4a3
fix javadoc and pass a better reason to refresh
2015-10-26 10:44:00 +01:00