Codesearch never finds results
Now that I have my plugin installed and Elasticsearch running on the same server (port 9300) is there additional configuration I need to make? I see the Codsearch menu in Stash but it never finds any results regardless of what I type in. I have entered method names I know are in many places in my code base. I also tried specifying a project and file extension, but still no results.
Do I have to configure Elasticsearch to point to my git repo or something?
As it says in the README.md (but maybe we should fix this and/or make it more clear - several people had this problem) you have to enable global indexing, it is not turned on by default. Once you ensure that indexing is enabled and you retrigger a global reindex, you should start to see results.
When I go to Manage add-ons, then open up Codesearch the Codesearch Global Settings line shows: Codesearch Global Settings (global-settings-link) There are no settings visible to edit and the global-settings-link isn't a link.
I also face this when running with Stash v3.1.4
Maybe I missed menu item earlier. Try accessing:
http://stash:7990/plugins/servlet/codesearch/globalsettings
(this page shows up if the plugin successfully initialized ...)