LookupScript per shard modification (native scripting)


(Alex S.V.) #1

Hi,

I'm trying LookupScript example here:
https://github.com/imotov/elasticsearch-native-script-example/blob/master/src/main/java/org/elasticsearch/examples/nativescript/script/LookupScript.java

The idea of my script is to pre-cache all child documents in LookupScript
instance, but I want to query only current shard data. Is it possible? So
every shard instance caches only it's documents.

Regards,
Alex

--
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/bada48a1-7b74-41a0-81a9-564b5061b605%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2