title: Changing Data Store

Changing Storage Setup

PredictionIO relies on a data store to store its metadata. At the moment, PredictionIO's storage layer supports Elasticsearch. Make sure you have it running and functioning properly on your computer.

  1. If you are using Elasticsearch at the localhost and its default settings, you may stop here.

  2. Otherwise, change the following in conf/pio-env.sh to fit your setup.

    PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch
    PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost
    PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300
    

Save conf/pio-env.sh and you are done!