Antonio Bonuccelli
0149ed41f4
Update settings.asciidoc
...
generalising to single dash
2015-09-23 14:54:51 +02:00
Antonio Bonuccelli
8da0f89739
Order of command line flags
...
specifying the order required for cli -Des notation arguments
2015-09-23 14:54:50 +02:00
Simon Willnauer
75e816400c
Remove TranslogService and fold it into synchronous IndexShard API
...
This commit moves the size and ops based flush into a synchronous API into
IndexShard and removes the time-based flush alltogether since it' basically
covered by the inactive async flush API we have today. The functionality doesn't
need to be covered by scheduled task and async APIs while we can actually make all
the decisions in a sync manner which is way easier to control and to test.
Closes #13707
2015-09-23 12:39:06 +02:00
javanna
7eedd84dc3
Query refactoring: refactor query_string query and score functions
...
Refactor the function_score query so it can be parsed on the coordinating node, split parse into fromXContent and toQuery, make FunctionScoreQueryBuilder Writeable.
Closes #13653
2015-09-23 11:32:54 +02:00
Nik Everett
4d47015a0c
Merge pull request #13579 from nik9000/run_plugin_as_elasticsearch_in_tar
...
Run bin/plugin as elasticsearch in tar distro
2015-09-22 11:19:19 -04:00
Nik Everett
b521c606ff
[test] Run bin/plugin as right user
...
Before this commit he tests always run bin/plugin as root which is somewhat
unrealistic and causes trouble (log files owned by root instead of
elasticsearch). After this commit `bin/plugin` runs as root when elasticsearch
is installed via the repository and as elasticsearch otherwise which is much
more realistic.
This also adds extra timeout to starting elasticsearch which is required
when all the plugins are installed. And it fixes up a problem with logging
elasticsearch's log if elasticsearch doesn't start which came up multiple
time while debugging this problem.
Also adds docs recommending running `bin/plugin` as the user that owns the
Elasticsearch files or root if installed with the packages.
Closes #13557
2015-09-22 11:17:57 -04:00
David Pilato
3049ef3e35
Merge pull request #13712 from mnylen/patch-1
...
Add docs note about cloud.aws.region (#13668 )
2015-09-22 15:15:54 +02:00
Clinton Gormley
67815eec47
Docs: Removed references to java 7 and debian wheezy
...
Related to #13694
2015-09-22 14:23:30 +02:00
Mikko Nylén
a379400228
Add docs note about cloud.aws.region ( #13668 )
2015-09-22 14:53:54 +03:00
Christoph Büscher
1aae68d2e8
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/CommonTermsQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/GeoPolygonQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/MatchQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/QueryParseContext.java
core/src/main/java/org/elasticsearch/index/query/QueryParser.java
2015-09-22 12:43:55 +02:00
Christoph Büscher
03035a28a3
Query Refactoring: moving validation to setters and constructors
...
Moving validation from validate() to constructors and setters for the
following query builders:
* GeoDistanceQueryBuilder
* GeoDistanceRangeQueryBuilder
* GeoPolygonQueryBuilder
* GeoShapeQueryBuilder
* GeohashCellQuery
* TermsQueryBuilder
Relates to #10217
2015-09-22 11:05:56 +02:00
Nik Everett
877754ba89
reword docs
2015-09-21 14:32:22 -04:00
Nik Everett
c67ad3fb2a
[docs] Note that no http settings are dynamic
...
Closes #13364
2015-09-21 13:58:07 -04:00
David Pilato
f230eabc15
[cloud-azure] Split azure plugin in 3 plugins
...
Until now we had a cloud-azure plugin which is providing 3 distinct features:
* discovery on Azure
* snapshot/restore on Aure
* SMB store
This commit splits the plugin by feature so people can use either one or the other or both features.
Doc is updated accordingly.
2015-09-21 17:55:23 +02:00
Christoph Büscher
cc69de5c5f
Merge branch 'master' into feature/query-refactoring
2015-09-21 15:38:43 +02:00
Clinton Gormley
1f76f49003
Update compound-word-tokenfilter.asciidoc
...
Improved the docs for compound work token filter.
Closes #13670
Closes #13595
2015-09-21 11:22:14 +02:00
Boaz Leskes
cbdcdc1b96
Merge pull request #13526 from robertberg/rberg.searchdocs
...
Edit search scroll docs for syntactic style
2015-09-19 21:55:55 +02:00
Robert Berg
0279b219bb
Edit search scroll docs for syntactic style
2015-09-19 14:42:14 -05:00
Clinton Gormley
c08d5fdb24
Fixed some asciidoc confusion in index-modules.asciidoc
2015-09-19 18:14:36 +02:00
Clinton Gormley
fa77cf6f6f
Docs: Always quote "@file" argument to --data-binary
...
Closes #13500
2015-09-19 17:28:15 +02:00
Thomas Cucchietti
03488e3902
Docs: Update query_dsl.asciidoc
...
Minor orthographic fix
Closes #13452
2015-09-19 16:09:53 +02:00
Scott Kingsley Clark
50d984b935
SELECT state, COUNT(*) for clarity
...
Adding state to the SQL syntax to make it more clear, given that the buckets returned include the values of state AND count for each.
Closes #13597
2015-09-19 15:04:21 +02:00
Mark Walkom
fa56f1da79
Docs: Mention we use DEFLATE for best_compression
...
Closes #13549
2015-09-19 14:02:41 +02:00
Simon Willnauer
2da1baf546
Merge branch 'master' into feature/query-refactoring
2015-09-18 20:38:15 +02:00
Simon Willnauer
197313c19b
Merge branch 'master' into feature/query-refactoring
2015-09-18 20:11:25 +02:00
David Pilato
34862bc9f8
Merge branch 'doc/azure-network-host'
2015-09-18 19:51:57 +02:00
Britta Weber
542cf66c61
Update nodeattrs.asciidoc
2015-09-18 13:05:19 +02:00
Christoph Büscher
bab9523c56
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/ElasticsearchException.java
2015-09-18 12:05:03 +02:00
Christoph Büscher
37b46fb79c
Query Refactoring: moving validation to constructors and setters
...
This PR is the second batch in moving the query validation we started
to collect in the validate() method to the corresponding setters
and constructors.
2015-09-17 23:30:42 +02:00
David Pilato
71ec1f09e3
Add documentation for setting network.host with azure discovery
...
With 2.0, we now bind to `localhost` by default instead of binding to the network card and use its IP address.
When the discovery plugin gets from Azure API the list of nodes that should form the cluster, this list is pinged then. But as each node is bound to `localhost`, ping does not get an answer and the node elects itself as the master node.
Closes #13591
2015-09-17 16:29:02 +02:00
Christoph Büscher
887399eebf
Query Refactoring: moving validation to constructors and setters
...
This PR is an initial step to move the query validation we started
to collect in the validate() method to the corresponding setters
and constructors.
2015-09-17 13:57:34 +02:00
Shaunak Kashyap
516ba6c8f6
Using gcloud CLI as gcutil CLI has been deprecated
2015-09-16 06:43:47 -07:00
Alex Ksikes
a3c68f690b
Refactors MultiMatchQueryBuilder and Parser
...
Relates to #10217
This PR is against the query-refactoring branch.
Closes #13405
2015-09-16 13:41:22 +02:00
Christoph Büscher
8fb1aa9781
Refactors GeoDistanceQueryBuilder/-Parser
...
Splits parsing and Lucene query generation. Switches from storing lat/lon
separately to using GeoPoint instead.
Relates to #10217
2015-09-16 11:15:32 +02:00
Alex Ksikes
a13336da54
Refactors MoreLikeThisQueryBuilder and Parser
...
Relates to #10217
This PR is against the query-refactoring branch.
Closes #13486
2015-09-16 02:09:38 +02:00
Christoph Büscher
90f24c1a79
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
core/src/main/java/org/elasticsearch/index/query/GeoDistanceRangeQueryParser.java
core/src/main/java/org/elasticsearch/index/query/GeoPolygonQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/GeohashCellQuery.java
core/src/main/java/org/elasticsearch/index/query/WrapperQueryBuilder.java
core/src/test/java/org/elasticsearch/search/child/ChildQuerySearchIT.java
2015-09-14 14:31:01 +02:00
Boaz Leskes
564e1eca42
merge from master
2015-09-14 09:03:45 +02:00
Lee Hinman
016ba3531a
Merge remote-tracking branch 'dakrone/remove-disable-decider'
2015-09-11 09:28:13 -06:00
Nik Everett
b205875c43
Merge pull request #13515 from elastic/docsfix
...
Fix for mappings->_source example in docs
2015-09-11 11:02:55 -04:00
Shane Connelly
d86c1e8769
Fixes #13417
2015-09-11 07:34:14 -07:00
javanna
73f7df510e
Merge branch 'master' into feature/query-refactoring
...
Conflicts:
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/HasParentQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/HasParentQueryParser.java
core/src/main/java/org/elasticsearch/index/query/functionscore/FunctionScoreQueryBuilder.java
core/src/main/java/org/elasticsearch/index/query/functionscore/FunctionScoreQueryParser.java
core/src/main/java/org/elasticsearch/index/query/functionscore/factor/FactorParser.java
core/src/test/java/org/elasticsearch/ExceptionSerializationTests.java
core/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchBenchmark.java
core/src/test/java/org/elasticsearch/benchmark/search/child/ChildSearchShortCircuitBenchmark.java
core/src/test/java/org/elasticsearch/index/query/SimpleIndexQueryParserTests.java
core/src/test/java/org/elasticsearch/percolator/PercolatorIT.java
core/src/test/java/org/elasticsearch/search/child/ChildQuerySearchIT.java
docs/reference/query-dsl/has-parent-query.asciidoc
2015-09-11 14:15:12 +02:00
Alexander Pepper
df9d4eca66
[docs] Document meaning of "FST" and "FSTs".
...
Conflicts:
docs/reference/index-modules/fielddata.asciidoc
2015-09-11 05:34:41 -04:00
Adrien Grand
86f1b07df0
Docs: Remove docs for the filtered
, and
, or
and (f)query
queries.
2015-09-11 11:00:54 +02:00
Boaz Leskes
1b8047e51c
merge master
2015-09-11 09:56:13 +02:00
Masaru Hasegawa
5ae00a6129
Take initializing shards into consideration during awareness allocation
...
It makes decision consistent.
Fixes #12522
2015-09-11 13:13:36 +09:00
Paul Echeverri
7dea10c053
Merge branch 'logstash-integration'
2015-09-10 14:35:46 -07:00
Nik Everett
e4981968ad
[search] Limit the size of the result window
...
Requesting a million hits, or page 100,000 is always a bad idea, but users
may not be aware of this. This adds a per-index limit on the maximum size +
from that can be requested which defaults to 10,000.
This should not interfere with deep-scrolling.
Closes #9311
2015-09-10 15:38:29 -04:00
Alexander Reelsen
5d6ee7e82e
Docs: Update integration tests documentation
2015-09-10 19:05:15 +02:00
Martijn van Groningen
ab0847e0df
parent/child: several cleanups
...
* Dropped ScoreType in favour of Lucene's ScoreMode
* Removed `score_type` option from `has_child` and `has_parent` queries in favour for the already existing `score_mode` option.
* Removed the score mode `sum` in favour for the already existing `total` score mode. (`sum` doesn't exist in Lucene's ScoreMode class)
* If `max_children` is set to `0` it now really means that zero children are allowed to match.
2015-09-10 17:15:41 +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