Elasticsearch doesn't work in my latest bitbucket server instance. It is set up in the Bitbucket admin menus and connects fine. It just doesn't ever have any results when I type in the search box. I suppose this is to be expected because the size of C:\Atlassian\ApplicationData\Bitbucket\shared\search\data is very tiny, so it's not really indexing any of the source code.
Below is relevant text from the atlassian-bitbucket.log file.
2019-05-23 14:42:22,635 INFO [Caesium-1-3] c.a.b.i.s.i.IndexingSynchronizationService Beginning indexing of all projects and repositories for search.
2019-05-23 14:42:23,641 WARN [Caesium-1-3] c.a.b.i.s.i.IndexingSynchronizationService Unable to establish a connection to Elasticsearch during index synchronisation.
2019-05-23 14:42:23,642 WARN [Caesium-1-3] c.a.b.i.s.c.cluster.ClusterJobRunner Job execution failed. Rescheduling. Job key: com.atlassian.bitbucket.internal.search.indexing.jobs.ElasticsearchSynchronizeJob Job id: 3b534340-58b2-447a-9cfb-412d0e63e67d
Does anyone have anything I can take a look at to try and figure out whats wrong?
thanks