Elasticsearch Rails as_indexed_json vs mappings Elasticsearch Rails as_indexed_json vs mappings elasticsearch elasticsearch

Elasticsearch Rails as_indexed_json vs mappings


The as_indexed_json method is used to override what data will be send to ES for indexing.How ES is indexing the data you send is configured by the second part.

To search with ES in the indexed data, you have to perform a _query.

Feel free to ask if you need more info