Bug: lowercase index on elasticsearch
-
First, thank you for this great plugin ??
I installed your plugin but it didn’t work when I build initial index setup…
It stopped on “Adding mapping…” with an error but without any indication about the real error. Looking on code I debug this error:
Invalid index name [….TEST…], must be lowercase
My wordpress url use uppercase letters, so here was the problem. Elasticsearch need all index names on lowercase.
On a quick fix I added strtolower to function ep_get_index_name on file classes/class-ep-config.php. But I think is not the best solution.
If you can correct on a future version of this great plugin.
Thanks!
- The topic ‘Bug: lowercase index on elasticsearch’ is closed to new replies.