Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rematch optimising #308

Closed
wants to merge 10 commits into from
Prev Previous commit
Next Next commit
#288 fix merge conflict
  • Loading branch information
hamzajaved-csiro committed Jun 21, 2024
commit 3dd82f41fde2e9b2174ecdb18cbcf95ebd0adabc
Original file line number Diff line number Diff line change
Expand Up @@ -932,9 +932,9 @@ class QueryService {
"${q ? 'and (matchedName like :matchedName or commonName like :commonName or rawScientificName like :rawScientificName) ' : ''} " +
'group by family order by cnt desc',
queryParameters)
// if(commonResults.size() > 1) {
// map["family_matched"] = commonResults
// }
if(commonResults.size() > 1) {
map["family_matched"] = commonResults
}
}
//if there was a facet included in the result we will need to divide the
if(properties) {
Expand Down