I'm working on a native ElasticSearch plugin (using the Java API). I was
logging stuff to stdout to debug some things, and I noticed two things:
The script was running non-deterministically on the various documents,
which makes sense, and
The script was running more than once per document. Which seems like
a waste?
I've been browsing the source code trying to find where's this mapping
[Documents] => [Filtered documents], with no luck. Does anyone know how the
script filters know exactly, so that maybe we could find out why scripts
are running more than once per document?
I'm working on a native Elasticsearch plugin (using the Java API). I was
logging stuff to stdout to debug some things, and I noticed two things:
The script was running non-deterministically on the various
documents, which makes sense, and
The script was running more than once per document. Which seems
like a waste?
I've been browsing the source code trying to find where's this mapping
[Documents] => [Filtered documents], with no luck. Does anyone know how the
script filters know exactly, so that maybe we could find out why scripts
are running more than once per document?
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.