Merge pull request #403 from cordoval/patch-1

typo
This commit is contained in:
Jeremy Mikola 2013-12-10 00:25:55 -08:00
commit 21474b844b

View file

@ -182,11 +182,11 @@ per type.
content: ~
_parent: { type: "post", property: "post", identifier: "id" }
The parent filed declaration has the following values:
The parent field declaration has the following values:
* `type`: The parent type.
* `property`: The property in the child entity where to look for the parent entity. It may be ignored if is equal to the parent type.
* `identifier`: The property in the parent entity which have the parent identifier. Defaults to `id`.
* `identifier`: The property in the parent entity which has the parent identifier. Defaults to `id`.
Note that to create a document with a parent, you need to call `setParent` on the document rather than setting a _parent field.
If you do this wrong, you will see a `RoutingMissingException` as elasticsearch does not know where to store a document that should have a parent but does not specify it.
@ -238,7 +238,7 @@ It applies the configured mappings to the types.
This command needs providers to insert new documents in the elasticsearch types.
There are 2 ways to create providers.
If your elasticsearch type matches a Doctrine repository or a Propel query, go for the persistence automatic provider.
Or, for complete flexibility, go for manual provider.
Or, for complete flexibility, go for a manual provider.
#### Persistence automatic provider
@ -503,7 +503,7 @@ If you use multiple drivers then you can choose which one is aliased to `fos_ela
using the `default_manager` parameter:
fos_elastica:
default_manager: mongodb #defauults to orm
default_manager: mongodb #defaults to orm
clients:
default: { host: localhost, port: 9200 }
#--