OPTION_TYPE
OPTION_TYPE
Type option.
type: string | string[] | \Elastica\Type | \Elastica\Type[] | null default: null (means all types)
Functions to move documents and types between indices.
reindex(\Elastica\Index $oldIndex, \Elastica\Index $newIndex, array $options = array()) : \Elastica\Index
Reindex documents from an old index to a new index.
\Elastica\Index | $oldIndex | |
\Elastica\Index | $newIndex | |
array | $options | keys: CrossIndex::OPTION_* constants |
The new index object
copy(\Elastica\Index $oldIndex, \Elastica\Index $newIndex, array $options = array()) : \Elastica\Index
Copies type mappings and documents from an old index to a new index.
\Elastica\Index | $oldIndex | |
\Elastica\Index | $newIndex | |
array | $options | keys: CrossIndex::OPTION_* constants |
The new index object