Yea, I really like it. I have been thinking about the exact same thing for a while but never had the time to put it together. I do have some things I would like to add such as the ability to stop a document from being indexed when the doc has/does not have a specific value. At any rate, great job!
Thanks, Matt Weber On Thu, Jul 24, 2014 at 7:01 PM, Nikolas Everett <nik9...@gmail.com> wrote: > I wanted to do conditional copy_to and Andrian suggested implementing > scripted transforms instead. Much more flexible. They mesh well with the > shift to groovy too because groovy is much more stable. Stable enough to > run on every insert. > > I'm glad you are excited by it. It was fun to build and I hope lots of > people enjoy it. > > Nik > On Jul 24, 2014 9:22 PM, "Matt Weber" <m...@mattweber.org> wrote: > >> Just wanted to bring attention to the new and *very* useful transform >> scripts that were introduced in elasticsearch 1.3 [1]. This feature allows >> you to manipulate the source BEFORE it is indexed so you can do things like >> add/remove fields, change field values, etc. Groovy scripts will be the >> default, but you can write native transform scripts as well [2]. >> >> [1] >> http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-transform.html#mapping-transform >> [2] https://github.com/imotov/elasticsearch-native-script-example/pull/7 >> >> Thanks, >> Matt Weber >> >> -- >> 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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/5647d22b-9365-449d-922c-b5ed349c7826%40googlegroups.com >> <https://groups.google.com/d/msgid/elasticsearch/5647d22b-9365-449d-922c-b5ed349c7826%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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2N6KNnJ%3D7kVtiyS3UE45j36ktGxT%3DiDuPsDxMuwKGAPw%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2N6KNnJ%3D7kVtiyS3UE45j36ktGxT%3DiDuPsDxMuwKGAPw%40mail.gmail.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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAJ3KEoDfkUE%2B1%2BPGx-1KW%2BVQFXy2_JgvU9s27krist3uAV_9cQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.