This issue has been created
There is 1 update.
 
 
LLM AI Integration / cid:jira-generated-image-avatar-2f1984cd-dd83-45d0-a1b3-8be058400e94 LLMAI-163 Open

REST search swaps the semantic and keyword result limits

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-57e44e8b-3622-4155-8f0a-8b68b86208d1 Paul Pantiru created this issue on 19/Jul/26 10:12
 
Summary: REST search swaps the semantic and keyword result limits
Issue Type: cid:jira-generated-image-avatar-2f1984cd-dd83-45d0-a1b3-8be058400e94 Bug
Affects Versions: 0.9
Assignee: Unassigned
Created: 19/Jul/26 10:12
Priority: cid:jira-generated-image-static-major-41ffb8c2-29d2-4028-bf3b-23c81a8fca99 Major
Reporter: Paul Pantiru
Description:

DefaultSearchResource.search passes limitKeywordResults into hybridSearch's limitSemanticSimilarity parameter and limitSemanticResults into limitKeywordSearch — swapped since the hybrid search was introduced (LLMAI-130). Both limits default to the same value, so it only manifests when a REST caller sets asymmetric limits: their keyword budget then silently drives the KNN topK and vice versa. The MCP tool and the chat filter pass theirs correctly.

 
 

1 update

 
cid:jira-generated-image-avatar-57e44e8b-3622-4155-8f0a-8b68b86208d1 Changes by Paul Pantiru on 19/Jul/26 10:12
 
Assignee: Paul Pantiru