You might want to specify a few more details like where you're getting results from, what version you're on, what developmet mode you're using, etc.
Secondly, if you're writing this code to do a search, you might want to use the LocalizationContext
to get the current culture.
Lastly, if you're logged into the CMS and go to a page, whatever you've selected in the Pages app as a language, will always be displayed on the front side. For proper testing, open a private window and test OR log out of the CMS and perform your test.