# Can Elasticsearch Help In My Setup?

**URL:** <https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284>\
**Category:** Elasticsearch\
**Created:** [June 20, 2016, 8:29am UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284 "2016-06-20T08:29:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebigk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thebigk/32/10411_2.png) [@thebigk](https://discuss.elastic.co/u/thebigk)\
**Post date:** [June 20, 2016, 8:29am UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284/1 "2016-06-20T08:29:01Z")

</div>

I'm pretty new to Elasticsearch and have tried my best to find whether it can help in my setup. I'm currently developing a web app (addon) on the top of WordPress. The app allows users to create resume as custom post type and store all the resume data into multiple custom fields.

To cut the long story short, I'm currently storing all my resume data as a JSON blob. So each row has resume ID and a big JSON blob that has all the resume related information viz. multiple skills and ratings, multiple education, multiple degrees etc. So, a typical entry looks like this:

[meta\_id] [post\_id] [meta\_key] [meta\_value]  
-------------+-----------+----------------+-----------------  
[800] [33] [resumeMetaData] [{"resumeSalutation":"male","resumeFullName":"Bill [Gates","resumeEmail":"billg@msft.com](mailto:Gates%22,%22resumeEmail%22:%22billg@msft.com)","resumeMobile":"+444353245532","resumeBirthday":"01 January 1955","resumeCity":.....]

I wish to make some of my data inside the jSON blob searchable and I'm wondering if Elasticsearch can help? This app is still under development so I can make changes to the way data is stored and queried.

Typical search case:

How many resumes are there with location = New York, Skills = Java with at least 5 years of experience.

---

<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:** [June 20, 2016, 8:41am UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284/2 "2016-06-20T08:41:35Z")

</div>

> [@thebigk](#):
>
> I'm wondering if Elasticsearch can help?

Definitely!

---

<div class="post-metadata">

**Author:** ![thebigk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thebigk/32/10411_2.png) [@thebigk](https://discuss.elastic.co/u/thebigk)\
**Post date:** [June 20, 2016, 8:44am UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284/3 "2016-06-20T08:44:11Z")

</div>

Thanks @dadoonet- Could you tell me how exactly? I mean, how will elasticsearch handle my queries? All I know is that it will create its own index; but how will it extract the data from my JSON blobs?

---

<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:** [June 20, 2016, 9:24am UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284/4 "2016-06-20T09:24:42Z")

</div>

It won't extract data but if you can send the JSON docs to Elasticsearch you will get some extra power ! 🙂

---

<div class="post-metadata">

**Author:** ![thebigk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thebigk/32/10411_2.png) [@thebigk](https://discuss.elastic.co/u/thebigk)\
**Post date:** [June 20, 2016, 10:15am UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284/5 "2016-06-20T10:15:48Z")

</div>

Thanks. I'm however looking for more information on how it all works out. Not an in-depth explanation; but an overview is all I need. Thanks!

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [June 20, 2016, 11:07am UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284/6 "2016-06-20T11:07:10Z")

</div>

I often use a resume as a good example of a rich document which particularly benefits from using elasticsearch's "nested" feature [1] for representing content.  
Without a proper nested data model a search for a person with 5 year's of Java experience could match someone with 1 year of Java and 5 of Python. This is what we call the "cross-matching" problem that happens if you put complex data into the overly-simplistic model offered by most search engines [2].

Not all search problems require the "nested" feature but a resume is certainly a good example.

[1] [https://www.elastic.co/guide/en/elasticsearch/reference/2.3/nested.html#\_using\_literal\_nested\_literal\_fields\_for\_arrays\_of\_objects](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/nested.html#_using_literal_nested_literal_fields_for_arrays_of_objects)  
[2] [http://www.slideshare.net/MarkHarwood/proposal-for-nested-document-support-in-lucene](http://www.slideshare.net/MarkHarwood/proposal-for-nested-document-support-in-lucene)

---

<div class="post-metadata">

**Author:** ![mainec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mainec/32/5557_2.png) [@mainec](https://discuss.elastic.co/u/mainec)\
**Post date:** [June 20, 2016, 11:15am UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284/7 "2016-06-20T11:15:26Z")

</div>

While not about resumes but about product search the following description might give you an idea of some of the things Elasticsearch can do for you:

[http://project-a.github.io/on-site-search-design-patterns-for-e-commerce/](http://project-a.github.io/on-site-search-design-patterns-for-e-commerce/)

Hope this helps,  
Isabel

---

<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:** [July 5, 2017, 10:42pm UTC](https://discuss.elastic.co/t/can-elasticsearch-help-in-my-setup/53284/8 "2017-07-05T22:42:19Z")

</div>


