-
Notifications
You must be signed in to change notification settings - Fork 8
Creating Indices
Jon Winton edited this page Jun 5, 2017
·
1 revision
Indices are created in the setup of Amphora Search (AS). When you pass in the mappings
argument AS will look into that directory for any YAML (yml
or yaml
) files and create indices that match the file name for the mapping. If you want an index called published-recipes
you'll want to create a file called published-recipes.(yml|yaml)
in the directory you point AS to.
Once all the mappings in the directory are parsed and read, AS will connect to the Elastic instance and attempt to create all the indices.
If the YAML has been structured properly and the client can connect to the Elastic instance Amphora should startup with no issues and you'll be able to see the indices in your Elastic instance.