Use workplace search with data already indexed in elasticsearch as a source

Hi,

We would like to use Elastic Enterprise Search with on premise Gitlab server.

Our Gitlab code is already indexed in Elasticsearch through the gitlab advanced search feature ( Elasticsearch integration | GitLab )

Can we use the data already stored in Elasticsearch as a source for Enterprise Search?

I saw that there is no first party integration from Gitlab to Enterprise Search according to the post here:

So I'm hoping it will be easier to query the data from Elasticsearch instead.

Thanks,
Eyal

1 Like

No it's not currently possible.

You would need to use the Custom API for this. So reindex everything.

Hi @eyalaz,

While we don't have a first-party integration for Gitlab into Enterprise Search, we do have an open source example custom source that happens to use Gitlab as the example. You may be able to bootstrap your solution by starting with a fork of: https://github.com/elastic/workplace-search-example-connector

Good luck!

1 Like

Seems oddly short-sighted for such an obvious use case. Hopefully they'll develop something as an update.

Short of using existing, are there any tools to ingest from an existing index? Looking at this in 7.16, it appears I would have to export any/every thing to JSON to re-import. Serious bummer.

Hey there, great news you are able to create Enterprise Search engines on existing Elasticsearch indexes as of 8.2. I hope you get the chance to try it out and let us know your feedback! 8.2.0 release notes | Elastic Enterprise Search Documentation [8.2] | Elastic