Using your own data

After you set up, train, and query the sample data in the Tutorial, you'll want to set up the service with your own data.

Process at a glance

To set up the Retrieve and Rank service for your data, you follow this process:

  1. Modify the configuration.

    Modify the Apache Solr configuration to match your data.

  2. Create a cluster and collection and add your documents.

    For details about creating a cluster and collection, and adding documents, see the Tutorial page.

  3. Prepare training data and train a ranker.

    Assemble your ground truth and training data. Then train the ranker.

  4. Rerank your results.

    For each reranked answer, query your Solr collection with the answer ID to fetch the text of the answer. Then, present the answer or answers to your users.