Document Related in Elasticsearch?

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

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

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 there anything else.

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