mailerlite / laravel-elasticsearch

An easy way to use the official Elastic Search client in your Laravel applications.
MIT License
909 stars 187 forks source link

Possiblity to get mappings #132

Closed tebeso closed 2 years ago

tebeso commented 2 years ago

Hi, is it somehow possible to get the mapping definitions? I have an index with lots of documents and i need all the field names.

cviebrock commented 2 years ago

It looks like you have a question about how to do something with the Elasticsearch client in your Laravel application, or are having issues connecting to your Elastic instance.

Please refer to the official documentation for information on how to use the Elasticsearch client. My package is simply a wrapper around the official client that makes it easier to configure your ES connection in a more Laravel-friendly way. The package doesn't provide any functionality apart from setting up the configuration.