No separate search results in departments in the Knowledge Base

No separate search results in departments in the Knowledge Base

We have 2 software products (X & Y) 
We created 2 departments (X & Y)
We add articles to both departments

Problem:
Some consumers have both software products. When they logged in into the Knowled Base and click on department X and they search for some keywords they get also results from the other department (from Y).
In the search results you can't see the difference in the 2 departsmetns.

When you search for example properties you get a result like:

1: How to create properties
2: How manage properties

But the first one is of Software X and the second one is of software Y.

So people get confused and don't know wich item to click or they will read the wron article!