New

The executive guide to generative AI

Read more

Indexing Documents

edit

When you add documents to Elasticsearch, you index JSON documents. This maps naturally to PHP associative arrays, since they can easily be encoded in JSON. Therefore, in Elasticsearch-PHP you create and pass associative arrays to the client for indexing. There are several methods of ingesting data into Elasticsearch, which we will cover here

Was this helpful?
Feedback