Skip to content

Commit

Permalink
Fixed the query to be case insensitive for the exact match (#7202)
Browse files Browse the repository at this point in the history
  • Loading branch information
Camelia-Orcid authored Feb 6, 2025
1 parent f499db9 commit f8ec6f2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public List<OrgDisambiguatedSolrDocument> getOrgs(String searchTerm, int firstRe

// Set the preserveMulti parameter
query.setParam("preserveMulti", "true");
query.setParam("lowercaseOperators", "true");

if(fundersOnly) {
query.addFilterQuery(String.format("(%s:(%s OR %s))", SolrConstants.ORG_DISAMBIGUATED_ID_SOURCE_TYPE, "ROR", "FUNDREF"));
Expand Down

0 comments on commit f8ec6f2

Please sign in to comment.