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

**URL:** <https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [February 2, 2022, 3:49pm UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080 "2022-02-02T15:49:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyalaz](https://avatars.discourse-cdn.com/v4/letter/e/ecc23a/32.png) [@eyalaz](https://discuss.elastic.co/u/eyalaz)\
**Post date:** [February 2, 2022, 3:49pm UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/1 "2022-02-02T15:49:35Z")

</div>

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 | GitLab](https://docs.gitlab.com/ee/integration/elasticsearch.html#enable-advanced-search) )

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:

> [@Is WorkplaceSearch compatible with GitLab?](https://discuss.elastic.co/t/is-workplacesearch-compatible-with-gitlab/274736):
>
> I have a lot of documentation in GitLab. I would like to use WorkplaceSearch to search them, but the configurable content source is GitHub. Is GitLab supported? Or do I need to use a custom API source? Or is there a better way?

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

Thanks,  
Eyal

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 2, 2022, 5:18pm UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/2 "2022-02-02T17:18:55Z")

</div>

No it's not currently possible.

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

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [February 2, 2022, 8:21pm UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/3 "2022-02-02T20:21:16Z")

</div>

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](https://github.com/elastic/workplace-search-example-connector)

Good luck!

---

<div class="post-metadata">

**Author:** ![cromagnon35](https://avatars.discourse-cdn.com/v4/letter/c/b9e5f3/32.png) [@cromagnon35](https://discuss.elastic.co/u/cromagnon35)\
**Post date:** [February 15, 2022, 1:21pm UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/4 "2022-02-15T13:21:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Serena\_Chou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/serena_chou/32/100087_2.png) [@Serena\_Chou](https://discuss.elastic.co/u/Serena_Chou)\
**Post date:** [May 16, 2022, 11:39pm UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/5 "2022-05-16T23:39:59Z")

</div>

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](https://www.elastic.co/guide/en/enterprise-search/current/release-notes-8.2.0.html)

---

<div class="post-metadata">

**Author:** ![Zetanova](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zetanova/32/108970_2.png) [@Zetanova](https://discuss.elastic.co/u/Zetanova)\
**Post date:** [July 29, 2022, 7:49am UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/6 "2022-07-29T07:49:09Z")

</div>

@Serena_Chou I read your provided link, but there is no mention of the support for "Workplace Search" only for "App Search"

Is there any progress in the regard of "elasticseach" itself as a source for "Workplace Search"?  
I am now on 8.3.3 and cant find any build in connector.

---

<div class="post-metadata">

**Author:** ![Zetanova](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zetanova/32/108970_2.png) [@Zetanova](https://discuss.elastic.co/u/Zetanova)\
**Post date:** [July 29, 2022, 7:53am UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/7 "2022-07-29T07:53:14Z")

</div>

I would to like to connect the created SuiteCRM elasticsearch-index to "Workspace Search"

and maybe somehow connect a Logstash index to "Workspace Search"  
to be able to generate a pipe like:  
AWS Cloudfront =\> Elasticsearch =\> IP Extraction+URL =\> "Workspace Seach"

---

<div class="post-metadata">

**Author:** ![Serena\_Chou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/serena_chou/32/100087_2.png) [@Serena\_Chou](https://discuss.elastic.co/u/Serena_Chou)\
**Post date:** [October 18, 2022, 10:09pm UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/8 "2022-10-18T22:09:39Z")

</div>

Hey @Zetanova I just wanted to let you know that [Elasticsearch index engines (beta) | Elastic App Search Documentation [8.4] | Elastic](https://www.elastic.co/guide/en/app-search/8.4/elasticsearch-engines.html) are available in beta. You can utilize this to get the best of both worlds. If you hadn't already found this we also have [Elastic Enterprise Search integration plugin | Logstash Reference [8.4] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-integrations-elastic_enterprise_search.html) where did you land on your project?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 15, 2022, 10:10pm UTC](https://discuss.elastic.co/t/use-workplace-search-with-data-already-indexed-in-elasticsearch-as-a-source/296080/9 "2022-11-15T22:10:00Z")

</div>

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