# Rank match fields across indices

**URL:** <https://discuss.elastic.co/t/rank-match-fields-across-indices/144566>\
**Category:** Elasticsearch\
**Created:** [August 15, 2018, 6:19pm UTC](https://discuss.elastic.co/t/rank-match-fields-across-indices/144566 "2018-08-15T18:19:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmill](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmill/32/34514_2.png) [@dmill](https://discuss.elastic.co/u/dmill)\
**Post date:** [August 15, 2018, 6:19pm UTC](https://discuss.elastic.co/t/rank-match-fields-across-indices/144566/1 "2018-08-15T18:19:55Z")

</div>

I have one index called `transcriptions` with documents containing a field `raw_data` that contains blobs of text returned from the Google vision image transcription API. I have another index `people` with documents containing a `full_name` field (i.e. "John Smith"). I'd like to run a query to return the top 5 `people` documents matched on `full_name` to the `raw_data` field of a given `transcription` document. Can anyone help me out with this or point me in the right direction?

---

<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:** [September 12, 2018, 6:22pm UTC](https://discuss.elastic.co/t/rank-match-fields-across-indices/144566/2 "2018-09-12T18:22:41Z")

</div>

Closed on September 12, 2018, 6:22pm UTC

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