Will shard-scoped Painless script executions be multi-threaded on each node?
E.g. will node 1 multi-thread execution of Painless script for shards 1 and 2? Or will node 1 execute Painless script for shard 1 and then for shard 2?
All scripts (regardless of language) run in the thread of the calling context. So, for example, with a scoring script in a search, the script would be run on each shard independently, during query execution.
I can't understand why in a ConstantScoreQuery there are create_weight and build_scorer phases, is there any reason why?
I thought a ConstantScoreQuery was a way to completely disable scoring, wasn't it?
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.