You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/quickstart/index.asciidoc
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,23 +9,34 @@ Unless otherwise noted, these examples will use queries written in <<query-dsl,Q
9
9
== Requirements
10
10
11
11
You'll need a running {es} cluster, together with {kib} to use the Dev Tools API Console.
12
-
Get started <<run-elasticsearch-locally,locally in Docker>> , or see our <<elasticsearch-intro-deploy,other deployment options>>.
12
+
Run the following command in your terminal to set up a <<run-elasticsearch-locally,single-node local cluster in Docker>>:
13
+
14
+
[source,sh]
15
+
----
16
+
curl -fsSL https://elastic.co/start-local | sh
17
+
----
18
+
// NOTCONSOLE
19
+
20
+
Alternatively, refer to our <<elasticsearch-intro-deploy,other deployment options>>.
13
21
14
22
[discrete]
15
23
[[quickstart-list]]
16
24
== Hands-on quick starts
17
25
18
26
* <<getting-started,Basics: Index and search data using {es} APIs>>. Learn about indices, documents, and mappings, and perform a basic search using the Query DSL.
19
27
* <<full-text-filter-tutorial, Basics: Full-text search and filtering>>. Learn about different options for querying data, including full-text search and filtering, using the Query DSL.
28
+
* <<semantic-search-semantic-text, Semantic search>>: Learn how to create embeddings for your data with `semantic_text` and query using the `semantic` query.
29
+
** <<semantic-text-hybrid-search, Hybrid search with `semantic_text`>>: Learn how to combine semantic search with full-text search.
30
+
* <<bring-your-own-vectors, Bring your own dense vector embeddings>>: Learn how to ingest dense vector embeddings into {es}.
20
31
21
-
[discrete]
22
-
[[quickstart-python-links]]
23
-
== Working in Python
32
+
.Working in Python
33
+
******************
24
34
25
35
If you're interested in using {es} with Python, check out Elastic Search Labs:
26
36
27
37
* https://github.com/elastic/elasticsearch-labs[`elasticsearch-labs` repository]: Contains a range of Python https://github.com/elastic/elasticsearch-labs/tree/main/notebooks[notebooks] and https://github.com/elastic/elasticsearch-labs/tree/main/example-apps[example apps].
28
38
* https://www.elastic.co/search-labs/tutorials/search-tutorial/welcome[Tutorial]: This walks you through building a complete search solution with {es} from the ground up using Flask.
Copy file name to clipboardExpand all lines: docs/reference/run-elasticsearch-locally.asciidoc
+2-17Lines changed: 2 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ To set up {es} and {kib} locally, run the `start-local` script:
42
42
curl -fsSL https://elastic.co/start-local | sh
43
43
----
44
44
// NOTCONSOLE
45
+
// REVIEWED[OCT.28.2024]
45
46
46
47
This script creates an `elastic-start-local` folder containing configuration files and starts both {es} and {kib} using Docker.
47
48
@@ -50,29 +51,13 @@ After running the script, you can access Elastic services at the following endpo
50
51
* *{es}*: http://localhost:9200
51
52
* *{kib}*: http://localhost:5601
52
53
53
-
The script generates a random password for the `elastic` user, which is displayed at the end of the installation and stored in the `.env` file.
54
+
The script generates a random password for the `elastic` user, and an API key, stored in the `.env` file.
54
55
55
56
[CAUTION]
56
57
====
57
58
This setup is for local testing only. HTTPS is disabled, and Basic authentication is used for {es}. For security, {es} and {kib} are accessible only through `localhost`.
58
59
====
59
60
60
-
[discrete]
61
-
[[api-access]]
62
-
=== API access
63
-
64
-
An API key for {es} is generated and stored in the `.env` file as `ES_LOCAL_API_KEY`.
65
-
Use this key to connect to {es} with a https://www.elastic.co/guide/en/elasticsearch/client/index.html[programming language client] or the <<rest-apis,REST API>>.
66
-
67
-
From the `elastic-start-local` folder, check the connection to Elasticsearch using `curl`:
0 commit comments