Integrating elastic search with git

Hello I am going to be putting on a demo next week. I have one question and an issue.

  1. Is it possible to configure elastic search to index branches as well as the default setting for a project?
  2. It seems that if I add or import a project it does not index. If I manually run sudo gitlab-rake gitlab:elastic:index I see the results I expect.

The configuration is pretty basic nothing special. This is what I see when I run cluster health

< [nicsgt6@vcss0004 es-tm-git-01]$ curl -XGET 127.0.0.1:9200/_cluster/health?pretty
{
"cluster_name" : "elasticsearch",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 6,
"active_shards" : 6,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 5,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 54.54545454545454
} />

< bootstrap.memory_lock: true
network.host: 127.0.0.1
node.name: xxxxx-es-tm-git-01
path.data: "/home/elasticsearch/data/es-tm-git-01"
path.logs: "/home/elasticsearch/log/es-tm-git-01" />

Just to add I have both of the boxes checked in git on the elastic search section. We are not using the GO indexer at this time.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.