Nik Everett
3839d15ea0
Merge branch 'pr/13130'
2015-09-10 10:13:01 -04:00
javanna
2e68738429
adapt to upstream changes
2015-09-10 16:04:55 +02:00
javanna
56b3db6ba3
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/AndQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/AndQueryParser.java
core/src/main/java/org/elasticsearch/index/query/FQueryFilterParser.java
core/src/main/java/org/elasticsearch/index/query/FilteredQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/FilteredQueryParser.java
core/src/main/java/org/elasticsearch/index/query/HasChildQueryParser.java
core/src/main/java/org/elasticsearch/index/query/IndicesQueryParser.java
core/src/main/java/org/elasticsearch/index/query/LimitQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/LimitQueryParser.java
core/src/main/java/org/elasticsearch/index/query/MultiMatchQueryParser.java
core/src/main/java/org/elasticsearch/index/query/OrQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/OrQueryParser.java
core/src/main/java/org/elasticsearch/index/query/QueryFilterBuilder.java
core/src/main/java/org/elasticsearch/index/query/QueryFilterParser.java
core/src/main/java/org/elasticsearch/index/query/QueryParseContext.java
core/src/main/java/org/elasticsearch/index/query/ScriptQueryParser.java
core/src/main/java/org/elasticsearch/indices/query/IndicesQueriesRegistry.java
core/src/main/java/org/elasticsearch/search/sort/GeoDistanceSortParser.java
core/src/main/java/org/elasticsearch/search/sort/SortParseElement.java
core/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchShortCircuitBenchmark.java
core/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java
2015-09-10 15:52:28 +02:00
Nik Everett
2574b5e7f4
[test] Fix help test for _cat/shards
...
We added a new field and the help test didn't expect it to be there.
2015-09-10 09:35:03 -04:00
Martijn van Groningen
a0fea6d365
set query cache to null
2015-09-10 15:19:12 +02:00
André Carvalho
9802c38fa7
[Stats] Adds counter for failed indexing requests
...
Adds the stats to the _cat/indices, _cat/shards, and the _stats apis.
Closes #8938
2015-09-10 09:03:24 -04:00
Britta Weber
c10f116a84
[test] don't catch AssertionError from indexRandom(). just index and catch MapperParsingException
2015-09-10 14:51:23 +02:00
Simon Willnauer
8d2a2f8d66
Split NestedQueryParser into toQuery and formXContent
...
This commit splits NestedQueryParser into toQuery and fromXContent.
Relates to #10217
2015-09-10 14:40:17 +02:00
Simon Willnauer
de79faec70
Don't be lenient if JarHell is found
...
Closes #13404
2015-09-10 14:21:33 +02:00
javanna
1dc985a2c4
Remove ordinal member from Operator enum
...
Use the already available enum ordinal instead.
Closes #13456
2015-09-10 14:19:10 +02:00
Simon Willnauer
e2bbfbe1d5
Use AbstractQueryTestCase in MatchQueryBuilderTests
2015-09-10 13:21:59 +02:00
Simon Willnauer
feb5bdb23e
Merge pull request #13441 from s1monw/fix_query_base_test
...
Cleanup QueryTest framework and be more strict
2015-09-10 13:12:26 +02:00
Simon Willnauer
de3c9a23e9
Cleanup code and always use strict parsing on query tests
2015-09-10 12:58:25 +02:00
Martijn van Groningen
314e1c8a3e
parent/child: has_child has_parent queries shouldn't require search context
2015-09-10 12:47:06 +02:00
Martijn van Groningen
2eadc6d595
nested sorting: If sorting by nested field then the `nested_path` should always be specified.
...
Closes #13420
2015-09-10 12:21:12 +02:00
Martijn van Groningen
89159f073c
Merge pull request #13430 from martijnvg/pc/parent_field_always_store_doc_values
...
Parent field mapper should always store doc values join field.
2015-09-10 12:15:39 +02:00
Christoph Büscher
90fac17a2d
Query refactoring: MatchQueryBuilder
...
This add equals, hashcode, read/write methods, separates toQuery and JSON parsing and adds tests.
Also moving MatchQueryBuilder.Type to MatchQuery to MatchQuery, adding serialization and hashcode,
equals there.
Relates to #10217
2015-09-10 12:14:55 +02:00
Martijn Laarman
8e7be8b552
part types are not string but list on the _search_shards endpoint
2015-09-10 12:02:11 +02:00
Martijn Laarman
aaf7116bfb
synced flush incorrectly documented url parameters as path parameters
2015-09-10 12:00:06 +02:00
Alexander Reelsen
9421aaea4d
Release: Remove deprecated method of repository creation
...
This removes the old shell script for repository creation.
Small fix for gpg key name as well.
2015-09-10 11:14:31 +02:00
javanna
5cc423a229
delete unused XContentStructure class
2015-09-10 11:02:10 +02:00
Simon Willnauer
9f722a6674
Cleanup QueryTest framework and be more strict
...
This commit contains:
* renaming BaseQueryTestCase to AbstractQueryTestCase
* uses always STRICT parsing when parsing from builders XContent
* ensures that SearchContext is only but always available during toQuery but never during parse phase
* adds a way to override the default ParseFieldMatcher to allow queries to set deprecated API by default
2015-09-10 10:57:13 +02:00
Simon Willnauer
7fff399834
Reenable XTestSecurityManager
2015-09-10 10:49:13 +02:00
Adrien Grand
8027b4a1b4
Merge pull request #13418 from jpountz/fix/query_deprecations
...
Remove support for deprecated queries.
2015-09-10 10:39:24 +02:00
Adrien Grand
e89ec468c3
Remove support for deprecated queries.
...
This removes support for the `and`, `or`, `fquery`, `limit` and `filtered`
queries. `query` is still supported until #13326 is fixed.
2015-09-10 10:38:11 +02:00
javanna
484fcd49e5
Query refactoring: query_string
...
Relates to #10217
2015-09-10 10:09:24 +02:00
Simon Willnauer
7ab0e2c532
Swap out XTestSecurityManager until we figured out why it crashes the JVM
2015-09-10 09:57:02 +02:00
Paul Echeverri
f8c86c7252
Adds links to Logstash plugins under the Integrations page.
2015-09-09 17:57:23 -07:00
Ryan Ernst
c1dd9b8a98
add temp test security manager to test jar
2015-09-09 16:08:50 -07:00
Ryan Ernst
5c810eff59
Add helper method so indices path is not copied all over
2015-09-09 15:51:34 -07:00
Ryan Ernst
8f75c2b3a8
Tests: Move static bwc indexes to a shared location
...
There are a few tests that currently use the statically generated
backcompat indexes. This change moves them to a shared location, so they
no longer have to build a path based on the package name of the old
index tests.
2015-09-09 15:42:26 -07:00
Robert Muir
e67140b954
Merge pull request #13442 from rmuir/ide_noise
...
Remove noise when IDE test runners try to System.exit
2015-09-09 18:22:05 -04:00
Ryan Ernst
7854ccf797
Tweak intellij junit package name
2015-09-09 15:17:48 -07:00
Robert Muir
e7b98ac513
lie to the stupid license checker
2015-09-09 18:03:32 -04:00
Robert Muir
c273895d82
Remove noise when IDE test runners try to System.exit
2015-09-09 18:00:46 -04:00
Jason Tedor
6b19aebab0
Merge pull request #13438 from jasontedor/maps-be-gone
...
Remove and forbid use of com.google.common.collect.Maps
2015-09-09 17:58:44 -04:00
Jason Tedor
2a5412ebf0
Remove and forbid use of com.google.common.collect.Maps
...
This commit removes and now forbids all uses of
com.google.common.collect.Maps across the codebase. This is one of many
steps in the eventual removal of Guava as a dependency.
Relates #13224
2015-09-09 17:41:41 -04:00
Jason Tedor
b18ee60f80
Merge pull request #13440 from jasontedor/remove-thread-dumps-on-test-failures
...
Do not dump stack traces of threads on test failure
2015-09-09 17:23:41 -04:00
Jason Tedor
3dcb1a81c8
Do not dump stack traces of threads on test failure
...
Reverts 878301c795
, relates #12425
2015-09-09 17:07:13 -04:00
Ryan Ernst
9d71f0726e
Merge pull request #13410 from rjernst/you_were_warned
...
Fix compiler warnings
2015-09-09 14:04:54 -07:00
Ryan Schneider
d26abe6ce5
add more notes about Eclipse setup
...
- "search for nested projects..."
- amount of memory Eclipse needs to build elasticsearch successfully
- make sure m2e-connector is not installed
2015-09-09 16:08:19 -04:00
Ryan Ernst
9e8a90a657
Add xlint ignores for warning classes, where appropriate.
2015-09-09 12:47:07 -07:00
Alex Ksikes
274611c7c0
[TEST] fix template query with unmapped fields
2015-09-09 21:13:14 +02:00
gmarz
9e6115b066
Packaging: Fix Windows service start/stop issues
...
This commit addresses several bugs that prevented the Windows
service from being started or stopped:
- Extra white space in the concatenation of java options in
elasticsearch.in.bat which tripped up Apache Commons Daemon
and caused ES to startup without any params, eventually leading
to the "path.home is not configured" exception.
- service.bat was not passing the start argument to ES
- The service could not be stopped gracefully via the stop command
because there wasn't a method for procrun to call.
Closes #13247
Closes #13401
2015-09-09 13:31:46 -04:00
Martijn van Groningen
c54135c1e1
parent/child: Always store doc values join field.
...
Now that the pre 2.0 parent child implementation has been removed there is no need to have logic that decides not to store the join doc values field.
2015-09-09 18:46:40 +02:00
javanna
7a2dd7d55c
adapted to changes upstream
2015-09-09 17:15:44 +02:00
javanna
db705ab460
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/mapper/internal/ParentFieldMapper.java
core/src/main/java/org/elasticsearch/index/query/HasChildQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/HasChildQueryParser.java
core/src/main/java/org/elasticsearch/index/query/HasParentQueryParser.java
core/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/MoreLikeThisQueryParser.java
core/src/main/java/org/elasticsearch/index/search/child/ChildrenQuery.java
core/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java
core/src/test/java/org/elasticsearch/index/search/child/AbstractChildTestCase.java
core/src/test/java/org/elasticsearch/index/search/child/ChildrenConstantScoreQueryTests.java
core/src/test/java/org/elasticsearch/index/search/child/ChildrenQueryTests.java
core/src/test/java/org/elasticsearch/search/child/ChildQuerySearchBwcIT.java
core/src/test/java/org/elasticsearch/search/child/ChildQuerySearchIT.java
core/src/test/resources/org/elasticsearch/index/query/simple-query-string.json
2015-09-09 17:08:22 +02:00
Colin Goodheart-Smithe
678e1be5cf
[TEST] fix geo query failures when no types are defined
2015-09-09 14:24:53 +01:00
Martijn van Groningen
73d84e4797
Merge pull request #13376 from martijnvg/remove_pre2x_slow_parent_child
...
Removed pre 2.x parent child implementation
2015-09-09 15:20:10 +02:00
David Pilato
5b9d183bf4
Merge remote-tracking branch 'origin/master'
2015-09-09 15:17:48 +02:00