@@ -4,7 +4,7 @@ Elasticsearch is a distributed search and analytics engine, scalable data store
44
55Use cases enabled by Elasticsearch include:
66
7- * https://www.elastic.co/search-labs/blog/articles/retrieval-augmented-generation-rag[Retrieval Augmented Generation (RAG)]
7+ * https://www.elastic.co/search-labs/blog/articles/retrieval-augmented-generation-rag[Retrieval Augmented Generation (RAG)]
88* https://www.elastic.co/search-labs/blog/categories/vector-search[Vector search]
99* Full-text search
1010* Logs
@@ -17,7 +17,7 @@ Use cases enabled by Elasticsearch include:
1717To learn more about Elasticsearch's features and capabilities, see our
1818https://www.elastic.co/products/elasticsearch[product page].
1919
20- To access information on https://www.elastic.co/search-labs/blog/categories/ml-research[machine learning innovations] and the latest https://www.elastic.co/search-labs/blog/categories/lucene[Lucene contributions from Elastic], more information can be found in https://www.elastic.co/search-labs[Search Labs].
20+ To access information on https://www.elastic.co/search-labs/blog/categories/ml-research[machine learning innovations] and the latest https://www.elastic.co/search-labs/blog/categories/lucene[Lucene contributions from Elastic], more information can be found in https://www.elastic.co/search-labs[Search Labs].
2121
2222[[get-started]]
2323== Get started
@@ -27,20 +27,20 @@ https://www.elastic.co/cloud/as-a-service[Elasticsearch Service on Elastic
2727Cloud].
2828
2929If you prefer to install and manage Elasticsearch yourself, you can download
30- the latest version from
30+ the latest version from
3131https://www.elastic.co/downloads/elasticsearch[elastic.co/downloads/elasticsearch].
3232
3333=== Run Elasticsearch locally
3434
35- ////
35+ ////
3636IMPORTANT: This content is replicated in the Elasticsearch repo. See `run-elasticsearch-locally.asciidoc`.
3737Ensure both files are in sync.
3838
3939https://github.com/elastic/start-local is the source of truth.
40- ////
40+ ////
4141
4242[WARNING]
43- ====
43+ ====
4444DO NOT USE THESE INSTRUCTIONS FOR PRODUCTION DEPLOYMENTS.
4545
4646This setup is intended for local development and testing only.
@@ -93,20 +93,20 @@ Use this key to connect to Elasticsearch with a https://www.elastic.co/guide/en/
9393From the `elastic-start-local` folder, check the connection to Elasticsearch using `curl`:
9494
9595[source,sh]
96- ----
96+ ----
9797source .env
9898curl $ES_LOCAL_URL -H "Authorization: ApiKey ${ES_LOCAL_API_KEY}"
9999----
100100// NOTCONSOLE
101101
102102=== Send requests to Elasticsearch
103103
104- You send data and other requests to Elasticsearch through REST APIs.
105- You can interact with Elasticsearch using any client that sends HTTP requests,
104+ You send data and other requests to Elasticsearch through REST APIs.
105+ You can interact with Elasticsearch using any client that sends HTTP requests,
106106such as the https://www.elastic.co/guide/en/elasticsearch/client/index.html[Elasticsearch
107- language clients] and https://curl.se[curl].
107+ language clients] and https://curl.se[curl].
108108
109- ==== Using curl
109+ ==== Using curl
110110
111111Here's an example curl command to create a new Elasticsearch index, using basic auth:
112112
@@ -149,19 +149,19 @@ print(client.info())
149149
150150==== Using the Dev Tools Console
151151
152- Kibana's developer console provides an easy way to experiment and test requests.
152+ Kibana's developer console provides an easy way to experiment and test requests.
153153To access the console, open Kibana, then go to **Management** > **Dev Tools**.
154154
155155**Add data**
156156
157- You index data into Elasticsearch by sending JSON objects (documents) through the REST APIs.
158- Whether you have structured or unstructured text, numerical data, or geospatial data,
159- Elasticsearch efficiently stores and indexes it in a way that supports fast searches.
157+ You index data into Elasticsearch by sending JSON objects (documents) through the REST APIs.
158+ Whether you have structured or unstructured text, numerical data, or geospatial data,
159+ Elasticsearch efficiently stores and indexes it in a way that supports fast searches.
160160
161161For timestamped data such as logs and metrics, you typically add documents to a
162162data stream made up of multiple auto-generated backing indices.
163163
164- To add a single document to an index, submit an HTTP post request that targets the index.
164+ To add a single document to an index, submit an HTTP post request that targets the index.
165165
166166----
167167POST /customer/_doc/1
@@ -171,19 +171,19 @@ POST /customer/_doc/1
171171}
172172----
173173
174- This request automatically creates the `customer` index if it doesn't exist,
175- adds a new document that has an ID of 1, and
174+ This request automatically creates the `customer` index if it doesn't exist,
175+ adds a new document that has an ID of 1, and
176176stores and indexes the `firstname` and `lastname` fields.
177177
178- The new document is available immediately from any node in the cluster.
178+ The new document is available immediately from any node in the cluster.
179179You can retrieve it with a GET request that specifies its document ID:
180180
181181----
182182GET /customer/_doc/1
183183----
184184
185185To add multiple documents in one request, use the `_bulk` API.
186- Bulk data must be newline-delimited JSON (NDJSON).
186+ Bulk data must be newline-delimited JSON (NDJSON).
187187Each line must end in a newline character (`\n`), including the last line.
188188
189189----
@@ -200,15 +200,15 @@ PUT customer/_bulk
200200
201201**Search**
202202
203- Indexed documents are available for search in near real-time.
204- The following search matches all customers with a first name of _Jennifer_
203+ Indexed documents are available for search in near real-time.
204+ The following search matches all customers with a first name of _Jennifer_
205205in the `customer` index.
206206
207207----
208208GET customer/_search
209209{
210210 "query" : {
211- "match" : { "firstname": "Jennifer" }
211+ "match" : { "firstname": "Jennifer" }
212212 }
213213}
214214----
@@ -223,9 +223,9 @@ data streams, or index aliases.
223223
224224. Go to **Management > Stack Management > Kibana > Data Views**.
225225. Select **Create data view**.
226- . Enter a name for the data view and a pattern that matches one or more indices,
227- such as _customer_.
228- . Select **Save data view to Kibana**.
226+ . Enter a name for the data view and a pattern that matches one or more indices,
227+ such as _customer_.
228+ . Select **Save data view to Kibana**.
229229
230230To start exploring, go to **Analytics > Discover**.
231231
@@ -254,11 +254,6 @@ To build a distribution for another platform, run the related command:
254254./gradlew :distribution:archives:windows-zip:assemble
255255----
256256
257- To build distributions for all supported platforms, run:
258- ----
259- ./gradlew assemble
260- ----
261-
262257Distributions are output to `distribution/archives`.
263258
264259To run the test suite, see xref:TESTING.asciidoc[TESTING].
@@ -281,7 +276,7 @@ The https://github.com/elastic/elasticsearch-labs[`elasticsearch-labs`] repo con
281276[[contribute]]
282277== Contribute
283278
284- For contribution guidelines, see xref:CONTRIBUTING.md[CONTRIBUTING].
279+ For contribution guidelines, see xref:CONTRIBUTING.md[CONTRIBUTING].
285280
286281[[questions]]
287282== Questions? Problems? Suggestions?
0 commit comments