# Document Related in Elasticsearch?

**URL:** <https://discuss.elastic.co/t/document-related-in-elasticsearch/52211>\
**Category:** Elasticsearch\
**Created:** [June 8, 2016, 11:50am UTC](https://discuss.elastic.co/t/document-related-in-elasticsearch/52211 "2016-06-08T11:50:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [June 8, 2016, 11:50am UTC](https://discuss.elastic.co/t/document-related-in-elasticsearch/52211/1 "2016-06-08T11:50:07Z")

</div>

Can any one explain how to relate documents having same skill.

Let us say for example if I’m looking at lets say a javascript profile of Murali, the system should also suggest candidates with similar skills like Srirag, Prudwi

Thanks in advance

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 9, 2016, 12:28am UTC](https://discuss.elastic.co/t/document-related-in-elasticsearch/52211/2 "2016-06-09T00:28:18Z")

</div>

If you search for javascript, then ES will return other documents that contain this term automatically.

---

<div class="post-metadata">

**Author:** ![kartheek91](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kartheek91](https://discuss.elastic.co/u/kartheek91)\
**Post date:** [June 9, 2016, 3:39am UTC](https://discuss.elastic.co/t/document-related-in-elasticsearch/52211/3 "2016-06-09T03:39:37Z")

</div>

Sorry I misguided you actually the document similarity I want it should scan all the document and similar to that also should pop up.I'm trying "more is like this query" there we are passing fields and I'm able to pass entire [document.Is](http://document.Is) there anything else.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 9, 2016, 4:08am UTC](https://discuss.elastic.co/t/document-related-in-elasticsearch/52211/4 "2016-06-09T04:08:51Z")

</div>

You can't pass entire documents in like that. Ideally you would categorise documents before indexing time, look at percolation for that.

---

<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:45pm UTC](https://discuss.elastic.co/t/document-related-in-elasticsearch/52211/5 "2017-07-05T22:45:09Z")

</div>


