$boolQuery = new \Elastica\Query\Bool();
$filter = new \Elastica\Query\Terms();
$filter->setTerms('active', array(1));
$boolQuery->addFilter($filter);
I am using the Filter because it is not changing the Score on the results. If I set addMust, then the score will change. What need I do to replace the addFilter, so the score is still the same, when I am filtering results.
Thanks
Nik