Skip to content

Commit 9b5cbec

Browse files
authored
Merge pull request #1356 from Tobion/dependencies-doc
show overview of versions and dependencies
2 parents 5d53655 + 33cab52 commit 9b5cbec

File tree

5 files changed

+21
-11
lines changed

5 files changed

+21
-11
lines changed

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FOSElasticaBundle
22
=================
33

4-
This bundle provides integration with [ElasticSearch](http://www.elasticsearch.org) and [Elastica](https://github.com/ruflin/Elastica) with
4+
This bundle provides integration with [Elasticsearch](http://www.elasticsearch.org) and [Elastica](https://github.com/ruflin/Elastica) with
55
Symfony. Features include:
66

77
- Integrates the Elastica library into a Symfony environment
@@ -14,17 +14,27 @@ Symfony. Features include:
1414
Documentation
1515
-------------
1616

17-
Documentation for FOSElasticaBundle is in `doc/index.md`
18-
19-
[Read the documentation for 5.0.x](https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/doc/index.md)
20-
21-
[Read the documentation for 4.0.x](https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/4.0.x/Resources/doc/index.md)
17+
Documentation for FOSElasticaBundle is in [`doc/index.md`](doc/index.md)
2218

2319
Installation
2420
------------
2521

2622
Installation instructions can be found in the [documentation](doc/setup.md)
2723

24+
Versions & Dependencies
25+
-----------------------
26+
27+
Version 5 of the FOSElasticaBundle is compatible with Elasticsearch 5 and 6. It requires Symfony 3 or 4. When using
28+
Symfony Flex there is also a [recipe to ease the setup](https://github.com/symfony/recipes-contrib/tree/master/friendsofsymfony/elastica-bundle/5.0).
29+
Earlier versions of the FOSElasticaBundle are not maintained anymore and only work with older versions of the dependencies.
30+
The following table shows the compatibilities of different versions of the bundle.
31+
32+
| FOSElasticaBundle | Elastica | Elasticsearch | Symfony | PHP |
33+
| --------------------------------------------------------------------------------------- | ---------| ------------- | ---------- | ----- |
34+
| [5.x](https://github.com/FriendsOfSymfony/FOSElasticaBundle/tree/master) | ^5.2\|^6 | 5.\*\|6.\* | ^3.2\|^4 | >=5.6 |
35+
| [4.x](https://github.com/FriendsOfSymfony/FOSElasticaBundle/tree/4.x) (unmaintained) | 3.2.\* | 2.\* | ^2.8\|^3.2 | >=5.5 |
36+
| [3.2.x](https://github.com/FriendsOfSymfony/FOSElasticaBundle/tree/3.2.x) (unmaintained)| ^2.1 | 1.\* | ^2.3\|^3 | >=5.3 |
37+
2838
License
2939
-------
3040

doc/cookbook/attachments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is just a quick overview of how to handle attachment mappings, searching, a
66
Mappings
77
-----------------------------
88

9-
You can set up the FOSElasticaBundle to use attachments in the mappings. An overview of the ElasticSearch attachment plugin
9+
You can set up the FOSElasticaBundle to use attachments in the mappings. An overview of the Elasticsearch attachment plugin
1010
can be viewed here - https://github.com/elastic/elasticsearch-mapper-attachments. Installation instructions can be found
1111
on the github page. If you want to highlight content from the document, then you will need to add `"store": true` AND
1212
`"term_vector":"with_positions_offsets"` to the attachment field.

doc/cookbook/doctrine-queue-listener.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
FOSElasticaBundle subscribes on Doctrine events, such as insert, update, remove to adjust the index accordingly.
44
The listener might start consuming more and more resources, most importantly time of http response.
5-
Or, Sometimes it fails, bringing the whole your app down too, because of ElasticSearch server is out of order or some bug in the code.
5+
Or, Sometimes it fails, bringing the whole your app down too, because of Elasticsearch server is out of order or some bug in the code.
66
Keep reading if you want to improve http response time or strive for better fault tolerance.
77

88
Instead of doing everything in one single process the listener just sends a message to a worker (via [message queue](https://en.wikipedia.org/wiki/Message_queue)).

doc/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ fos_elastica:
6464
In this example, an Elastica index (an instance of `Elastica\Index`) is available as a
6565
service with the key `fos_elastica.index.app`.
6666

67-
You may want the index `app` to be named something else on ElasticSearch depending on
67+
You may want the index `app` to be named something else on Elasticsearch depending on
6868
if your application is running in a different env or other conditions that suit your
6969
application. To set your customer index to a name that depends on the environment of your
7070
Symfony application, use the example below:
@@ -77,7 +77,7 @@ fos_elastica:
7777
index_name: app_%kernel.environment%
7878
```
7979

80-
In this case, the service `fos_elastica.index.app` will relate to an ElasticSearch index
80+
In this case, the service `fos_elastica.index.app` will relate to an Elasticsearch index
8181
that varies depending on your kernel's environment. For example, in dev it will relate to
8282
`app_dev`.
8383

doc/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ only fire after the `kernel.terminate` and `console.terminate` events.
338338
Logging Errors
339339
--------------
340340

341-
By default FOSElasticaBundle will not catch errors thrown by Elastica/ElasticSearch.
341+
By default FOSElasticaBundle will not catch errors thrown by Elastica/Elasticsearch.
342342
Configure a logger per listener if you would rather catch and log these.
343343

344344
```yaml

0 commit comments

Comments
 (0)