Are the JQL Search Results Cached? If yes, is there a way to avoid caching

Are the JQL results obtained by passing the JQL to the searchService.search Java method cached if the method call is invoked several times in a minute? If yes, is there a way to tell JIRA to avoid giving cached results and make a fresh JQL call everytime searchService.search Java method is invoked?

Specifically, I am running this JQL programatically in a listener when two stories are linked together:

issue in linkedIssues(story-key, ‘blocks’) OR issue in linkedIssues(story-Key, ‘is blocked by’)

Can it be related to caching or can it be that the linking itself takes time for the query to return the right result to my code?

What version of Jira is this?