Uploaded image for project: 'LLM AI Integration'
  1. LLM AI Integration
  2. LLMAI-163

REST search swaps the semantic and keyword result limits

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.9.1
    • 0.9
    • None
    • Unknown

    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.

      Attachments

        Activity

          People

            ppantiru Paul Pantiru
            ppantiru Paul Pantiru
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: