Skip to content

Don't query notes in ES when the source is GLQL

We noticed that when searching by = operator in ES, the query time increased which can be influenced by us also searching for notes now (see the comment for more info).

Searching for notes is not required for GLQL, so after having some discussions here we decided to introduce a source param to SearchService and skip the notes query whenever the source is GLQL.

Edited by 🤖 GitLab Bot 🤖