I'm trying to mimic the functionality of another search engine. The functionality I want is that when a user selects a filter it first limits a search, as expected. However, I want to still return all possible aggregation values for the entire data set (not just the new filtered data set). When the user selects a subsequent filter it expands the number of results.
An Example of this functionality are Amazon's refinements:
Thanks. Post_filer might be what I want, but I can't seem to find any doc on using multiple post_filter conditions or passing an array to post_filter. Can you apply multiple post_filters?
This has the effect I wanted for the color filter. I think I may need a mix of post_fitter and filter when combining multiple filters like "color" and "size".
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.