Jacob Dreesen
Jacob Dreesen
`Elasticsearch\Client::get()` throws an exception when the document is not found but according to its PhpDoc `ONGR\ElasticsearchBundle\Service\IndexService::find()` should return `null` in this case.
It's a duplicate of `IndexService::clearCache()`.
The client is lazily initialized when calling `getClient()`, which is used almost everywhere, except three places. To make this three places work, it's called in the constructor too, which makes...
When the ES host is other than localhost (or default port) it's very cumbersome to manually define the (same) host for every single index. Thus, I implemented a possibility to...
Denormalization restores a document class from its state, which means that the constructor should not be called because no new object is created there. This also allows the document class's...
It returns `null` when there is no score.
Fix typo
As the method catches these exceptions and returns false in this case, those annotations are wrong because those exceptions are never thrown from this method. Since I'm not sure what...