Update similarity setting


(geantbrun) #1

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

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/19c3c8fa-7cc7-48f9-ad8e-1d730b3c14f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Ivan Brusic) #2

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. :slight_smile:

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.patrick@gmail.com 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 (
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

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/19c3c8fa-7cc7-48f9-ad8e-1d730b3c14f0%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/19c3c8fa-7cc7-48f9-ad8e-1d730b3c14f0%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQA%3D3K3M7Lh%3D%3DZ%3D%2BcHVWmp6_%3DsJTD4fANRP1LzffCWx%2BRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(geantbrun) #3

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. :slight_smile:

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 (
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

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/19c3c8fa-7cc7-48f9-ad8e-1d730b3c14f0%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/19c3c8fa-7cc7-48f9-ad8e-1d730b3c14f0%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/adb0e30f-aa87-455d-bd5c-5e8a5c5506c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4