Skip to content

Commit 245686d

Browse files
committed
Fix bad cross document links
1 parent fc97e16 commit 245686d

21 files changed

+26
-248
lines changed

docs/aggregations.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The values are typically extracted from the fields of the document (using the fi
6060

6161
* <<value-count-aggregation-usage,Value Count Aggregation Usage>>
6262

63-
See the Elasticsearch documentation on {ref_current}/search-aggregations-metric.html[Metric aggregations] for more details.
63+
See the Elasticsearch documentation on {ref_current}/search-aggregations-metrics.html[Metric aggregations] for more details.
6464

6565
:includes-from-dirs: aggregations/metric
6666

docs/client-concepts/certificates/working-with-certificates.asciidoc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,15 @@ the local CA certificate is part of the chain that was used to generate the serv
118118

119119
==== Client Certificates
120120

121-
X-Pack also allows you to configure a {xpack_current}/pki-realm.html[PKI realm] to enable user authentication
122-
through client certificates. The `certgen` tool included with X-Pack allows you to
123-
{xpack_current}/ssl-tls.html#CO13-4[generate client certificates as well] and assign the distinguished name (DN) of the
124-
certificate to a user with a certain role.
121+
Shield also allows you to configure a PKI realm to enable user authentication
122+
through client certificates.
125123

126-
certgen by default only generates a public certificate `.cer`) and a private key `.key`. To authenticate with client certificates, you need to present both
124+
To authenticate with client certificates, you need to present both a public certificate `.cer`) and a private key `.key`
127125
as one certificate. The easiest way to do this is to generate a `pfx` or `p12` file from the `.cer` and `.key`
128126
and attach these to requests using `new X509Certificate(pathToPfx)`.
129127

130-
If you do not have a way to run `openssl` or `Pvk2Pfx` to do this as part of your deployments the clients ships with a handy helper to generate one
131-
on the fly by passing the paths to the `.cer` and `.key` files that `certgen` outputs. Sadly, this functonality is not available on .NET Core because
128+
If you do not have a way to run `openssl` or `Pvk2Pfx` to do this as part of your deployments, the clients ship with a handy helper to generate one
129+
on the fly by passing the paths to the `.cer` and `.key` files. Sadly, this functonality is not available on .NET Core because
132130
the `PublicKey` property cannot be set on the crypto service provider that is used to generate the `pfx` file at runtime.
133131

134132
You can set Client Certificates to use on all connections on `ConnectionSettings`

docs/client-concepts/connection-pooling/building-blocks/connection-pooling.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
////
1010
IMPORTANT NOTE
1111
==============
12-
This file has been generated from https://github.com/elastic/elasticsearch-net/tree/2.x/src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/ConnectionPooling.Doc.cs.
12+
This file has been generated from https://github.com/elastic/elasticsearch-net/tree/2.x/src/Tests/ClientConcepts/ConnectionPooling/BuildingBlocks/ConnectionPooling.doc.cs.
1313
If you wish to submit a PR for any spelling mistakes, typos or grammatical errors for this file,
1414
please modify the original csharp file found at the link and submit the PR with that change. Thanks!
1515
////

docs/client-concepts/high-level/analysis/writing-analyzers.asciidoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ An analyzer is built of three components:
3434

3535
image::analysis-chain.png[analysis chain]
3636

37-
Check out the Elasticsearch documentation on the {ref_current}/analyzer-anatomy.html[Anatomy of an analyzer]
38-
to understand more.
39-
4037
==== Specifying an analyzer on a field mapping
4138

4239
An analyzer can be specified on a `text` datatype field mapping when creating a new field on a type, usually

docs/client-concepts/high-level/mapping/auto-map.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ In this example,
178178

179179
* Employees is mapped as an `object`
180180

181-
and the remaining string properties as multi field `text` datatypes, each with a `keyword` datatype
182-
sub field.
181+
and the remaining string properties as `string` datatypes.
183182

184183
NEST has inferred mapping support for the following .NET types
185184

docs/client-concepts/high-level/mapping/fluent-mapping.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var descriptor = new CreateIndexDescriptor("myindex")
8181
);
8282
----
8383

84-
Here, the Name property of the `Company` type has been mapped as a {ref_current}/text.html[text datatype] and
84+
Here, the Name property of the `Company` type has been mapped as a {ref_current}/string.html[string datatype] and
8585
the `Employees` property mapped as an {ref_current}/object.html[object datatype]. Within this object mapping,
8686
only the `FirstName`, `LastName` and `Salary` properties of the `Employee` type have been mapped.
8787

docs/client-concepts/high-level/mapping/multi-fields.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ please modify the original csharp file found at the link and submit the PR with
1818
=== Multi fields
1919

2020
It is often useful to index the same field in Elasticsearch in different ways, to
21-
serve different purposes, for example, mapping a POCO `string` property as a`text` datatype for full text search as well as mapping as a `keyword` datatype for
21+
serve different purposes, for example, mapping a POCO `string` property as a`string` datatype for full text search as well as mapping as a `not_analyzed` `string` datatype for
2222
structured search, sorting and aggregations. Another example is mapping a POCO `string`
2323
property to use different analyzers, to serve different full text search needs.
2424

@@ -135,7 +135,6 @@ var searchResponse = client.Search<Person>(s => s
135135
);
136136
----
137137
<1> Use the shingles subfield on `Name`
138-
139138
<2> Use the keyword subfield on `Name`
140139

141140
[source,javascript]

docs/query-dsl-usage.asciidoc

Lines changed: 0 additions & 148 deletions
This file was deleted.

docs/search-usage.asciidoc

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/search/writing-queries.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ is not analyzed, and an *exact match* to the input is looked for in the inverted
193193
trip many new users up when using a term level query against a field that is analyzed at index
194194
time.
195195

196-
When a field is _only_ to be used for exact matching, you should consider indexing it as a
197-
{ref_current}/keyword.html[keyword] datatype. If a field is used for both exact matches and
196+
When a field is _only_ to be used for exact matching, you should consider indexing it as a `not_analyzed`
197+
{ref_current}/string.html[string] datatype. If a field is used for both exact matches and
198198
full text search, you should consider indexing it with <<multi-fields, multi fields>>.
199199

200200
--
@@ -241,7 +241,7 @@ is analyzed, and the resulting terms from query analysis are compared to the ter
241241
index.
242242

243243
You have full control over the analysis that is applied at both search time and index time, by applying
244-
<<writing-analyzers, analyzers>> to {ref_current}/text.html[text] datatype fields through
244+
<<writing-analyzers, analyzers>> to {ref_current}/string.html[string] datatype fields through
245245
<<mapping, mapping>>.
246246

247247
--

0 commit comments

Comments
 (0)