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
- In the Control Panel, go to Settings → Plugins and click the “Install”
18
+
button for Elasticsearch.
19
+
21
20
22
21
## Elasticsearch plugin Overview
23
22
24
23
Elasticsearch plugin will automatically index each entries on your site(s).
25
24
26
-
It will figure out the best Elasticsearch mapping for you based on your site(s) language.
25
+
It will figure out the best Elasticsearch mapping for you based on your site(s)
26
+
language.
27
+
27
28
28
29
## Configuring Elasticsearch plugin
29
30
30
-
Go to the plugin settings and adjust the host name and port for your Elasticsearch instance.
31
+
Go to the plugin settings and adjust the host name and port for your
32
+
Elasticsearch instance.
31
33
32
-
If your instance is protected with X-Pack Security, you can provide your username and passwords as well.
34
+
If your instance is protected with X-Pack Security, you can provide your
35
+
username and passwords as well.
36
+
37
+
Optionally, in the `config` folder, you can override the following plugin
38
+
configurations by adding a `elacticsearch.php` file as follow:
33
39
34
-
Optionally, in the `config` folder, you can override the following plugin configurations by adding a `elacticsearch.php` file as follow:
35
40
```php
36
41
<?php
37
42
return [
@@ -43,13 +48,20 @@ return [
43
48
];
44
49
```
45
50
46
-
-`content_pattern`: the regular expression used to extract the relevant content of the page to be indexed
47
-
-`highlight`: the elasticsearch configuration used to highlight query results. For more options, refer to the [elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/search-request-highlighting.html)
51
+
-`content_pattern`: the regular expression used to extract the relevant
52
+
content of the page to be indexed
53
+
-`highlight`: the elasticsearch configuration used to highlight query
54
+
results. For more options, refer to the [elasticsearch documentation][]
0 commit comments