Data dumping
New command
- Dump index
spameri:elastic:dump-indexdumps all data from index to specified file - Handy for moving documents to another index
- Or for backing purposes
New command
- Load dump
spameri:elastic:load-dumploads dumped data from file - Handy for moving documents to another index
- Or for backing purposes
New command
- Type to new index
spameri:elastic:move-type - Moves documents from type to new index
- Use when you need to split old index with multiple types
Added type support to ElasticSearch services for working with old indexes which has multiple types.
Search returns ResultSearch object.
DeleteMultiple and InsertMultiple maps response to class \Spameri\ElasticQuery\Response\ResultBulk
New Indices services
- Close, Open for clean in objects closing and opening indexes
- Create to create empty index with no settings
- Get to get all settings and mappings for index
- GetMapping for getting mapping for specific index or index and type
- PutMapping for putting mapping for specific index or index and type. And you can specify dynamic option of index
Please bare in mind that types will be deprecated in ES and are added here only to provide backward compatibility.