I wrote a denormalizer plugin where I use a node client from a field analyzer for a field type "deref". A node client is started as a singleton per node where the plugin is installed. It can ask other indexes/types for a doc by given ID for injecting additional terms from an array of terms of the referenced doc into the current tokenizer stream.
It is not well tested and early in development, but I can share the code if there is interest. I would never start a client node from a a script, because of the enormous overhead, as you have experienced. Jörg -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEYBU64spM4QvtRSQDVxjMK7-yRENWC%2BqFhr4mkTHN49w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
