elastic / enterprise-search-php

Elastic Enterprise Search Official PHP Client
https://www.elastic.co/guide/en/enterprise-search-clients/index.html
MIT License
1 stars 13 forks source link

Error: This API action is not available for Engines based on an Elasticsearch index #45

Open dysproseum opened 5 months ago

dysproseum commented 5 months ago

I am using the Drupal module elastic_enterprise_search and am connected to an Elastic cloud instance which is running its own engine.

When I attempt to reindex content, the API returns Error 400 Bad Request from src/AppSearch/Endpoints.php

However, via the console, I was able to get a more specific error message.

Screenshot from 2024-05-31 15-20-30

What causes this error and is there any configuration I can do to resolve it?

ezimuel commented 2 months ago

@dysproseum if this is still an error, can you show me the error that you have in the PHP code? From the Enterprise Search documentation this should be the correct API to create an engine. Thanks.