Advanced Search Onpromise istance (self-manage?)

Problem:
Enable Advanced search on project code on gitlab onpromise

hello everyone, i’m trying to enable advanced search on my gitlab onpromise instance.

This setup is what is called here - Self-managed?

i tried to install elastich search on my ubuntu virtual machine that hosts my little gitlab and everything worked successfully.

but then i can’t tell gitlab to use my elastich search for searches and i can’t figure out where to specify that it should index my source code of all the projects that i host.

Is there a guide or something similar to follow? it seems that in my installation there is no advanced search at all I tried various changes to the gitlab condif file but I can’t enable it

System information
System: Ubuntu 20.04
Proxy: no
Current User: git
Using RVM: no
Ruby Version: 3.2.5
Gem Version: 3.5.23
Bundler Version:2.5.11
Rake Version: 13.0.6
Redis Version: 7.0.15
Sidekiq Version:7.2.4
Go Version: unknown

GitLab information
Version: 17.7.0-ee
Revision: 1fd574ee571
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 14.11
Elasticsearch: no
Geo: No
Using LDAP: yes
Using Omniauth: yes
Omniauth Providers:

GitLab Shell
Version: 14.39.0
Gitaly

  • default Address: unix:/var/opt/gitlab/gitaly/gitaly.socket
  • default Version: 17.7.0
  • default Git Version: 2.47.0