# Is there any option to define multiple key value pairs based on delimeter while ingesting files through FSCrawler in Elasticsearch?

**URL:** <https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383>\
**Category:** Elasticsearch\
**Created:** [January 18, 2021, 6:06am UTC](https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383 "2021-01-18T06:06:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nirmal\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nirmal_raj/32/82415_2.png) [@Nirmal\_Raj](https://discuss.elastic.co/u/Nirmal_Raj)\
**Post date:** [January 18, 2021, 6:06am UTC](https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383/1 "2021-01-18T06:06:15Z")

</div>

I'm trying to ingest multiple extension files like (.pdf, .doc, .docx, .csv) using **FSCrawler** in **Elasticsearch**. After ingesting, all the details inside the files mapped under one key value pair called content.

Is there any option or any other tool to ingest multiple extensions files with multiple key value pairs mapped based on delimeter (:, ; )?

---

<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:** [January 20, 2021, 2:48pm UTC](https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383/2 "2021-01-20T14:48:54Z")

</div>

Welcome!

What do you mean? Do you have a concrete example of a document indexed by FSCrawler and what it should look like to fit your use case?

---

<div class="post-metadata">

**Author:** ![Nirmal\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nirmal_raj/32/82415_2.png) [@Nirmal\_Raj](https://discuss.elastic.co/u/Nirmal_Raj)\
**Post date:** [January 21, 2021, 4:52am UTC](https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383/3 "2021-01-21T04:52:47Z")

</div>

Hi David, Thanks for the reply!!!  
Here is my Use-Case: Resume Analytics using Full Search Query in Elastic Search

1. I'm trying to import resumes (in different extensions - .pdf, .doc, .docx) into elastic search using FS Crawler.
2. Successfully ingested all the resume's into elastic search with FS Crawler.
3. Example: I'm trying to check the XXYY.pdf resume, while checking I have noticed that all the details ( name , mail-id, mobile number, experience , summary ) inside XXYY.pdf are mapped under one key "Content" .
4. I'm looking to parse the details separately as multiple keys for name, mail-id, mobile, experience and summary instead of having all the details in one key (content).
5. Is it possible, to parse the details in FS Crawler based on (🙂 using FS Crawler?
6. Pls suggest, am I missing something? or do I need to parse the resume before ingesting into FS Crawler?  
 ![Index](https://us1.discourse-cdn.com/elastic/original/3X/8/5/8541dae0b886661fb6d700031eb8162af110dc5a.png)

---

<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:** [February 18, 2021, 4:53am UTC](https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383/4 "2021-02-18T04:53:04Z")

</div>

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

---

<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:** [April 2, 2021, 1:46pm UTC](https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383/5 "2021-04-02T13:46:12Z")

</div>



---

<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:** [April 2, 2021, 1:49pm UTC](https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383/6 "2021-04-02T13:49:14Z")

</div>

Sorry for the late response.

> [@Nirmal\_Raj](#):
>
> I'm looking to parse the details separately as multiple keys for name, mail-id, mobile, experience and summary instead of having all the details in one key (content).

I see.

> [@Nirmal\_Raj](#):
>
> Is it possible, to parse the details in FS Crawler based on (🙂 using FS Crawler?

No. FSCrawler can not recognize and extract entities from a text.  
That's a process you'd need to run on the `content` field.  
May be you can use something like:

> **[GitHub - spinscale/elasticsearch-ingest-opennlp: An Elasticsearch ingest...](https://github.com/spinscale/elasticsearch-ingest-opennlp)**
>
> An Elasticsearch ingest processor to do named entity extraction using Apache OpenNLP - GitHub - spinscale/elasticsearch-ingest-opennlp: An Elasticsearch ingest processor to do named entity extracti...

In an ingest pipeline and configure this pipeline in FSCrawler.

---

<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 4, 2022, 8:21am UTC](https://discuss.elastic.co/t/is-there-any-option-to-define-multiple-key-value-pairs-based-on-delimeter-while-ingesting-files-through-fscrawler-in-elasticsearch/261383/7 "2022-11-04T08:21:51Z")

</div>


