# Indexing a reference data set in Elasticsearch

Availability-note[Deprecated](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-deprecated)

This content is deprecated.

This scenario applies only to subscription-based Talend Platform products with Big Data and Talend Data Fabric.

In this Job, the tMatchIndex component creates an index in Elasticsearch and populates it with a clean and deduplicated data set which contains a list of education centers in Chicago.

After performing all the matching actions on the data set which contains a list of education centers in Chicago, you do not need to restart the matching process from scratch when you get new data records having the same schema. You can index the clean data set in Elasticsearch using tMatchIndex for continuous matching purposes.

Information noteImportant: This component is deprecated since Talend Studio 8.0 R2025-03 and removed from Talend Studio 8.0 R2025-07 onwards.

Before indexing a reference data set in Elasticsearch:

* You generated a pairing model using tMatchPairing.

  For further information, see [Computing suspect pairs and writing a sample in](https://help.qlik.com/talend/en-US/data-matching/8.0/computing-suspect-pairs-writing-sample-in-stewardship) and [Computing suspect pairs and suspect sample from source data](https://help.qlik.com/talend/en-US/data-matching/8.0/computing-suspect-pairs-suspect-sample-from-source-data).

* Make sure the input data you want to index is clean and deduplicated.

  For an example of how to clean and deduplicate a data set, see [Creating a clean data set from the suspect pairs labeled by tMatchPredict and the unique rows computed by tMatchPairing](https://help.qlik.com/talend/en-US/data-matching/8.0/creating-clean-data-set-from-suspect-pairs-labeled).

* The Elasticsearch cluster must be running Elasticsearch 5+.

### In this section

* [Setting up the Job](https://help.qlik.com/talend/en-US/data-matching/8.0/indexing-reference-data-set-in-elasticsearch-setting-up-job)
* [Selecting the Spark mode](https://help.qlik.com/talend/en-US/data-matching/8.0/selecting-spark-mode-spark-batch?id=143)
* [Configuring the connection to the file system to be used by Spark](https://help.qlik.com/talend/en-US/data-matching/8.0/configuring-connection-to-file-system-to-be-used-by-spark?id=144)
* [Configuring the input component](https://help.qlik.com/talend/en-US/data-matching/8.0/indexing-reference-data-set-in-elasticsearch-configuring-input-component)
* [Indexing clean and deduplicated data in Elasticsearch](https://help.qlik.com/talend/en-US/data-matching/8.0/indexing-reference-data-set-in-elasticsearch-indexing-clean-and-deduplicated-data)