Releases: Headoo/ElasticSearchBundle
Releases · Headoo/ElasticSearchBundle
v0.4.7
timeout customizable
timeout is now customizable
Refresh a selection of documents
refresh a selection of documents, with new options:
--id:
Used alone, refresh the document where the 'id' equals this value
Used with 'where', refresh the documents where field 'where' equals this value
--where
Always used with option 'id', refresh the documents where field 'where' equals this value
--join
Join on another entities. The 'where' clause is apply on the last entity.
Use scroll
Use ElasticSearch scroll in the command Exodus, to path large window of documents.
v0.4.3: Merge pull request #6 from Headoo/cme-perf
- Avoid memory leack (http://konradpodgorski.com/blog/2013/01/18/how-to-avoid-memory-leaks-in-symfony-2-commands/)
- Replicates options to sub-process (--env=prod)
- Handles and shows errors from the sub-process
v0.4.1
- Add listener on preRemove, because there no ID on entities in DoctrineListener::postRemove()
- Add isSofdeleted() to remove from ES entities simply softdeleted, because it's calling DoctrineListener::postUpdate() instead of postRemove();
- Rename removeToElastic() => removeFromElastic()
- Catch Elastica\Exception\NotFoundException, because we listen preRemove AND postRemove. Document can be removed on preRemove, so not found on postRemove
important update
v0.2 Update ElasticSearchListener.php