I can read parameters in FacetProcessor.parse and pass them to a
FacetCollector, but how do I pass parameters to FacetProcessor.reduce?
--
I can read parameters in FacetProcessor.parse and pass them to a
FacetCollector, but how do I pass parameters to FacetProcessor.reduce?
--
FacetCollector can store these parameters in Facet, and
then FacetProcessor.reduce can retrieve them form one of the Facets it
receives to reduce.
On Wednesday, November 14, 2012 4:00:15 AM UTC-5, Eric Jain wrote:
I can read parameters in FacetProcessor.parse and pass them to a
FacetCollector, but how do I pass parameters to FacetProcessor.reduce?
--
On Wed, Nov 14, 2012 at 6:17 AM, Igor Motov imotov@gmail.com wrote:
FacetCollector can store these parameters in Facet, and then
FacetProcessor.reduce can retrieve them form one of the Facets it receives
to reduce.
Thanks! Too bad you can't create a custom FacetReducer (similar to the
FacetCollector), but that works.
--
© 2020. All Rights Reserved - Elasticsearch
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.