When I search from the finder spotlight is working as expected.
When pressing cmd+space and entering the same query I only get results from Safari's history.
The index is OK and the results are correct when searching with the Finder and with
mdfind on the command line. Is only the spotlight window (cmd+space) that is not working.
Rebuilding the index does not change the behaviour
Any hint on how could I solve the problem?