### Settings for Indexing ### import requests import json import logging settings = { \'settings\': { \'index\': { \'number_of_shards\': 1