Hi,
I want to test different similarities under ES. I have my big database A
and would like to export a sample of data in database B with a different
similarity. How can I do such a thing? The exporter tool here ( https://github.com/mallocator/Elasticsearch-Exporter) recreates the mapping
A into B but I cannot update after the export non-dynamic settings such as
the similarity. Any idea anyone?
Thank you,
Patrick
As I mentioned in your other thread, you cannot change the similarity of a
field dynamically. I would argue that we should be able to. If someone
wants to shoot themselves in the foot, they should be able to.
Sounds like your issue is how to transfer your data and use a new mapping.
I never used that plugin, but there seems to be an option to override the
mapping in the master branch. If not, some of the other export/import tools
might help. Never used anyone of them, so I cannot help much. Perhaps the
new snapshot functionality?
Hi,
I want to test different similarities under ES. I have my big database A
and would like to export a sample of data in database B with a different
similarity. How can I do such a thing? The exporter tool here ( GitHub - mallocator/Elasticsearch-Exporter: A small script to export data from one Elasticsearch cluster into another.) recreates the
mapping A into B but I cannot update after the export non-dynamic settings
such as the similarity. Any idea anyone?
Thank you,
Patrick
I solved my problem with exporter tool by exporting data first from DB A
into a file then importing from that file into DB B (that has its own
mappping).
Thanks again Ivan.
Le jeudi 27 mars 2014 20:43:23 UTC-4, Ivan Brusic a écrit :
As I mentioned in your other thread, you cannot change the similarity of a
field dynamically. I would argue that we should be able to. If someone
wants to shoot themselves in the foot, they should be able to.
Sounds like your issue is how to transfer your data and use a new mapping.
I never used that plugin, but there seems to be an option to override the
mapping in the master branch. If not, some of the other export/import tools
might help. Never used anyone of them, so I cannot help much. Perhaps the
new snapshot functionality?
--
Ivan
On Thu, Mar 27, 2014 at 8:59 AM, geantbrun <agin.p...@gmail.com<javascript:>
wrote:
Hi,
I want to test different similarities under ES. I have my big database A
and would like to export a sample of data in database B with a different
similarity. How can I do such a thing? The exporter tool here ( GitHub - mallocator/Elasticsearch-Exporter: A small script to export data from one Elasticsearch cluster into another.) recreates the
mapping A into B but I cannot update after the export non-dynamic settings
such as the similarity. Any idea anyone?
Thank you,
Patrick
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.