What do You think about adding some new operations on elastic search
indices:
copying (cloning) an index - making a copy of existing index under
different name.
Both old and new indices should be separate after cloning and changes
to one of them shouldn't be propagated to other (that's difference
with aliasing)
Currently to achieve this functionality one should: create new index,
iterate over types in old index and over documents in index/type and
index all these documents to new index. For large indices it's very
ineffective operation.
Merging indices based on query or type - I'd like to index all my
documents from one index matching some query to second index.
First operation is very important for me and probably not so hard to
implement. And second one would be a nice addition (for example for
joining two indices or moving a type from one index to another).
What do You think about adding some new operations on Elasticsearch
indices:
copying (cloning) an index - making a copy of existing index under
different name.
Both old and new indices should be separate after cloning and changes
to one of them shouldn't be propagated to other (that's difference
with aliasing)
Currently to achieve this functionality one should: create new index,
iterate over types in old index and over documents in index/type and
index all these documents to new index. For large indices it's very
ineffective operation.
Merging indices based on query or type - I'd like to index all my
documents from one index matching some query to second index.
First operation is very important for me and probably not so hard to
implement. And second one would be a nice addition (for example for
joining two indices or moving a type from one index to another).
I'd like to have one index - trunk and some other indices - branches.
Branches are initially copies of the trunk but they may be changed
separately and may be "committed" to trunk (merged) or deleted.
What do You think about adding some new operations on Elasticsearch
indices:
copying (cloning) an index - making a copy of existing index under
different name.
Both old and new indices should be separate after cloning and changes
to one of them shouldn't be propagated to other (that's difference
with aliasing)
Currently to achieve this functionality one should: create new index,
iterate over types in old index and over documents in index/type and
index all these documents to new index. For large indices it's very
ineffective operation.
Merging indices based on query or type - I'd like to index all my
documents from one index matching some query to second index.
First operation is very important for me and probably not so hard to
implement. And second one would be a nice addition (for example for
joining two indices or moving a type from one index to another).
Yes, reindexing the full or part of the index into another index is planned. It gets tricky since some times (or most times, but not in your case) one might want to munge the data before reindexing.
Thats why the first priority was to expose the scan search type, so people can implement it themselves. Note, the scan search type supports providing a custom query (and not just match_all) so you can only scan a subset of the data and index it into another index.
On Monday, May 16, 2011 at 2:29 PM, Wojciech DurczyÅski wrote:
I'd like to have one index - trunk and some other indices - branches.
Branches are initially copies of the trunk but they may be changed
separately and may be "committed" to trunk (merged) or deleted.
What do You think about adding some new operations on Elasticsearch
indices:
copying (cloning) an index - making a copy of existing index under
different name.
Both old and new indices should be separate after cloning and changes
to one of them shouldn't be propagated to other (that's difference
with aliasing)
Currently to achieve this functionality one should: create new index,
iterate over types in old index and over documents in index/type and
index all these documents to new index. For large indices it's very
ineffective operation.
Merging indices based on query or type - I'd like to index all my
documents from one index matching some query to second index.
First operation is very important for me and probably not so hard to
implement. And second one would be a nice addition (for example for
joining two indices or moving a type from one index to another).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.