Skip to content

Commit 1a8ab9a

Browse files
author
Christoph Büscher
committed
Merge branch 'master' into feature/query-refactoring
Conflicts: src/main/java/org/elasticsearch/index/query/FilterBuilder.java src/main/java/org/elasticsearch/index/query/QueryParseContext.java
2 parents 48f2363 + fe5a35b commit 1a8ab9a

File tree

704 files changed

+10699
-11161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

704 files changed

+10699
-11161
lines changed

config/elasticsearch.yml

Lines changed: 97 additions & 366 deletions
Large diffs are not rendered by default.

dev-tools/forbidden/core-signatures.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ org.apache.lucene.index.IndexReader#decRef()
3939
org.apache.lucene.index.IndexReader#incRef()
4040
org.apache.lucene.index.IndexReader#tryIncRef()
4141

42-
@defaultMessage QueryWrapperFilter is cacheable by default - use Queries#wrap instead
43-
org.apache.lucene.search.QueryWrapperFilter#<init>(org.apache.lucene.search.Query)
44-
4542
@defaultMessage Pass the precision step from the mappings explicitly instead
4643
org.apache.lucene.search.NumericRangeQuery#newDoubleRange(java.lang.String,java.lang.Double,java.lang.Double,boolean,boolean)
4744
org.apache.lucene.search.NumericRangeQuery#newFloatRange(java.lang.String,java.lang.Float,java.lang.Float,boolean,boolean)

docs/community/clients.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ See the {client}/perl-api/current/index.html[official Elasticsearch Perl client]
1313
See the {client}/python-api/current/index.html[official Elasticsearch Python client].
1414

1515
* http://github.com/elasticsearch/elasticsearch-dsl-py[elasticsearch-dsl-py]
16-
chainable query and filter construction built on top of offical client.
16+
chainable query and filter construction built on top of official client.
1717

1818
* http://github.com/rhec/pyelasticsearch[pyelasticsearch]:
1919
Python client.
@@ -50,13 +50,13 @@ See the {client}/ruby-api/current/index.html[official Elasticsearch Ruby client]
5050

5151
* https://github.com/ddnexus/flex[Flex]:
5252
Ruby Client.
53-
53+
5454
* https://github.com/printercu/elastics-rb[elastics]:
5555
Tiny client with built-in zero-downtime migrations and ActiveRecord integration.
56-
56+
5757
* https://github.com/toptal/chewy[chewy]:
58-
Chewy is ODM and wrapper for official elasticsearch client
59-
58+
Chewy is ODM and wrapper for official elasticsearch client
59+
6060
* https://github.com/ankane/searchkick[Searchkick]:
6161
Intelligent search made easy
6262

@@ -82,7 +82,7 @@ See the {client}/php-api/current/index.html[official Elasticsearch PHP client].
8282

8383
* https://github.com/searchbox-io/Jest[Jest]:
8484
Java Rest client.
85-
* There is of course the http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/index.html[native ES Java client]
85+
* There is of course the {client}/java-api/current/index.html[native ES Java client]
8686

8787
[[community-javascript]]
8888
=== JavaScript

docs/community/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Community Supported Clients
22

3-
:client: http://www.elasticsearch.org/guide/en/elasticsearch/client
3+
:client: http://www.elastic.co/guide/en/elasticsearch/client
44

55

66
include::clients.asciidoc[]

docs/community/integrations.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959

6060
* http://searchbox-io.github.com/wp-elasticsearch/[Wp-Elasticsearch]:
6161
Elasticsearch WordPress Plugin
62+
63+
* https://github.com/wallmanderco/elasticsearch-indexer[Elasticsearch Indexer]:
64+
Elasticsearch WordPress Plugin
6265

6366
* https://github.com/OlegKunitsyn/eslogd[eslogd]:
6467
Linux daemon that replicates events to a central Elasticsearch server in real-time

docs/groovy-api/index.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Groovy API
2-
:ref: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current
3-
:java: http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current
2+
:ref: http://www.elastic.co/guide/en/elasticsearch/reference/current
3+
:java: http://www.elastic.co/guide/en/elasticsearch/client/java-api/current
44

55
[preface]
66
== Preface

docs/java-api/client.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ be "two hop" operations).
134134
--------------------------------------------------
135135
// on startup
136136
137-
Client client = new TransportClient()
137+
Client client = TransportClient.builder().build()
138138
.addTransportAddress(new InetSocketTransportAddress("host1", 9300))
139139
.addTransportAddress(new InetSocketTransportAddress("host2", 9300));
140140
@@ -150,7 +150,7 @@ Note that you have to set the cluster name if you use one different than
150150
--------------------------------------------------
151151
Settings settings = ImmutableSettings.settingsBuilder()
152152
.put("cluster.name", "myClusterName").build();
153-
Client client = new TransportClient(settings);
153+
Client client = TransportClient.builder().settings(settings).build();
154154
//Add transport addresses and do something with the client...
155155
--------------------------------------------------
156156

@@ -166,7 +166,7 @@ used will be the ones that the other nodes were started with (the
166166
--------------------------------------------------
167167
Settings settings = ImmutableSettings.settingsBuilder()
168168
.put("client.transport.sniff", true).build();
169-
TransportClient client = new TransportClient(settings);
169+
TransportClient client = TransportClient.builder().settings(settings).build();
170170
--------------------------------------------------
171171

172172
Other transport client level settings include:

docs/java-api/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[java-api]]
22
= Java API
3-
:ref: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current
3+
:ref: http://www.elastic.co/guide/en/elasticsearch/reference/current
44

55
[preface]
66
== Preface

docs/java-api/query-dsl-filters.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ FilterBuilder filter = geoDistanceFilter("pin.location") <1>
150150
<2> center point
151151
<3> distance from center point
152152
<4> optimize bounding box: `memory`, `indexed` or `none`
153-
<5> distance computation mode: `GeoDistance.SLOPPY_ARC` (default), `GeoDistance.ARC` (slighly more precise but
153+
<5> distance computation mode: `GeoDistance.SLOPPY_ARC` (default), `GeoDistance.ARC` (slightly more precise but
154154
significantly slower) or `GeoDistance.PLANE` (faster, but inaccurate on long distances and close to the poles)
155155

156156
Note that you can cache the result using

docs/java-api/query-dsl-queries.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ QueryBuilder qb = matchAllQuery();
234234

235235

236236
[[mlt]]
237-
=== More Like This (Field) Query (mlt and mlt_field)
237+
=== More Like This Query (mlt)
238238

239239
See:
240240
* {ref}/query-dsl-mlt-query.html[More Like This Query]

0 commit comments

Comments
 (0)