jarvisphp/elasticsearch-skill

There is no license information available for the latest version (dev-master) of this package.

dev-master 2017-06-26 11:31 UTC

This package is not auto-updated.

Last update: 2024-04-28 00:53:22 UTC


README

To add in app_settings.json:

{
    "providers": [
        "Jarvis\\Skill\\Elasticsearch\\ElasticsearchCore",
    ],
    "extra": {
        "elasticsearch": {
            "index": {
                "settings": {
                    "number_of_shards": 5,
                    "number_of_replicas": 0
                }
            },
            "model_type_mappings": {
                "__MODEL_NAMESPACE__": {
                    "index_name": "__INDEX_NAME__",
                    "store_class": "__MODEL_STORE_NAMESPACE__"
                }
            }
        }
    }
}