PR Review Request: TRUNK-6691 - Make concept search count and deduplication threshold configurable

Hi community :waving_hand:

I’ve opened my first Java backend contribution to openmrs-core and

would appreciate a review.

**Ticket:** Jira

**PR:** TRUNK-6691: Make concept search count and deduplication threshold configurable via global properties by JordanCalzen · Pull Request #6521 · openmrs/openmrs-core · GitHub

**What the PR does:**

- Adds `concept.searchCountDeduplicationCap` global property to bound

exact deduplication when counting concept search results

- Adds `search.deduplicationDefaultThreshold` global property for the

default threshold in SearchQueryUnique

- Both default to empty (preserving current exact/unbounded behaviour)

- Malformed values fall back gracefully with a warning log

- 3 automated tests added

This is a follow-up to TRUNK-6687. All 21 tests pass locally.

Happy to make any changes based on feedback. Thank you!