# Using FSCrawler as REST in simulate mode. How to disable communication with ES (Elasticsearch)

**URL:** <https://discuss.elastic.co/t/using-fscrawler-as-rest-in-simulate-mode-how-to-disable-communication-with-es-elasticsearch/290805>\
**Category:** Elasticsearch\
**Created:** [December 2, 2021, 6:18pm UTC](https://discuss.elastic.co/t/using-fscrawler-as-rest-in-simulate-mode-how-to-disable-communication-with-es-elasticsearch/290805 "2021-12-02T18:18:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francois\_Saab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francois_saab/32/91763_2.png) [@Francois\_Saab](https://discuss.elastic.co/u/Francois_Saab)\
**Post date:** [December 2, 2021, 6:18pm UTC](https://discuss.elastic.co/t/using-fscrawler-as-rest-in-simulate-mode-how-to-disable-communication-with-es-elasticsearch/290805/1 "2021-12-02T18:18:45Z")

</div>

Hello,

We are using FSCrawler As Rest service and using it in simulate mode. We are uploading files to ES from our SDK.

All is ok so far.

However we want to configure FSCrawler to not communicate with ES , as we are only using FSCrawler as file extractor (gateway to tika), in simulate mode. is that possible? we need this because our new ES is the OpenSearch implementation and FSCrawler is having compatibility mismatches with openSearch.

Why FSCRawler needs to communicate to ES especially when we launch FSCrawler? For initiation reasons? How to disable the communication with ES.

Thanks

---

<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:** [December 2, 2021, 9:18pm UTC](https://discuss.elastic.co/t/using-fscrawler-as-rest-in-simulate-mode-how-to-disable-communication-with-es-elasticsearch/290805/2 "2021-12-02T21:18:16Z")

</div>

FSCrawler needs to store some information in Elasticsearch but that should not be mandatory when running in Rest mode only.

Could you open an issue?

BTW you should switch to Elasticsearch. 😉

---

<div class="post-metadata">

**Author:** ![Francois\_Saab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/francois_saab/32/91763_2.png) [@Francois\_Saab](https://discuss.elastic.co/u/Francois_Saab)\
**Post date:** [December 3, 2021, 8:12am UTC](https://discuss.elastic.co/t/using-fscrawler-as-rest-in-simulate-mode-how-to-disable-communication-with-es-elasticsearch/290805/4 "2021-12-03T08:12:22Z")

</div>

Thanks David,

Issue created below:

> <https://github.com/dadoonet/fscrawler/issues/1315>
>
> Problem description:
> 
> 
> Even if in simulate mode, FSCarwler is communicating w…ith Elasticsearch especially on launch, and it will not launch if Elasticsearch is not available. Which should not be mandatory.
> 
> Proposed solution:
> 
> FSCrawler should provide a configuration to disable communication with ES in rest mode - simulate mode.

---

<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:** [December 31, 2021, 8:12am UTC](https://discuss.elastic.co/t/using-fscrawler-as-rest-in-simulate-mode-how-to-disable-communication-with-es-elasticsearch/290805/5 "2021-12-31T08:12:32Z")

</div>

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