elasticpress-autosuggest-endpoint icon indicating copy to clipboard operation
elasticpress-autosuggest-endpoint copied to clipboard

If ES version is 7.x, don't pass an unsupported 'type' parameter

Open brandwaffle opened this issue 5 years ago • 0 comments

See this ElasticPress ticket for more context: https://github.com/10up/ElasticPress/issues/1633#issuecomment-580453327

For version 7.x of ES, 'type' is no longer a supported parameter. This script should either 1) conditionally detect ES version and not pass type or (for perhaps more simplicity) 2) add a comment in the code with the clear instruction to remove this in ES 7.x+.

brandwaffle avatar Jan 30 '20 20:01 brandwaffle