Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Minimum Should Match option in Liferay search (Elastic search)
Hello,
Our requirment is find web contents which match atleast 70% of given categories. Elastic search have "minimum_should_match" parameter where we can provide minmum should clauses should match. I can't see any option to set "minimum_should_match" in Liferay's BooleanQuery. Anyone help me here how we can achive our requirment?
Thanks in Advance
Regards,
Kailash
Our requirment is find web contents which match atleast 70% of given categories. Elastic search have "minimum_should_match" parameter where we can provide minmum should clauses should match. I can't see any option to set "minimum_should_match" in Liferay's BooleanQuery. Anyone help me here how we can achive our requirment?
Thanks in Advance

Regards,
Kailash
Bump
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™