Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"type" is not a valid parameter on upgrade #3205

Closed
ebgreen opened this issue Mar 6, 2024 · 3 comments
Closed

"type" is not a valid parameter on upgrade #3205

ebgreen opened this issue Mar 6, 2024 · 3 comments
Assignees

Comments

@ebgreen
Copy link

ebgreen commented Mar 6, 2024

Products not showing when added

Products when updated disappear.

backlogs starts to show up after 30 minutes

Preconditions

Adobe Commerce Cloud

post upgrade

Magento Version : Magento 2.4.6-p4

ElasticSuite Version : 2.11.5.1
AWS opensearch 1.2.4

Environment : Production

Third party modules : NA test without

Steps to reproduce

  1. rebuilt indexes "renamed"
  2. after rebuilding indexes search all logs nothing but the repeated error in the system.log
  3. crons all show successfully finished.
  4. bin/magento indexer:reindex no errors

Expected result

  1. product show on cron scheduled runs.

Actual result

  1. report.ERROR: "type" is not a valid parameter. Allowed parameters are "_source", "_source_excludes", "_source_includes", "allow_no_indices", "allow_partial_search_results", "analyze_wildcard", "analyzer", "batched_reduce_size", "ccs_minimize_roundtrips", "default_operator", "df", "docvalue_fields", "error_trace", "expand_wildcards", "explain", "filter_path", "from", "human", "ignore_throttled", "ignore_unavailable", "lenient", "max_concurrent_shard_requests", "opaqueId", "pre_filter_shard_size", "preference", "pretty", "q", "request_cache", "rest_total_hits_as_int", "routing", "scroll", "search_type", "seq_no_primary_term", "size", "sort", "source", "stats", "stored_fields", "suggest_field", "suggest_mode", "suggest_size", "suggest_text", "terminate_after", "timeout", "track_scores", "track_total_hits", "typed_keys", "version" [] []
  2. crons all show successfully finished.
  3. bin/magento indexer:reindex no errors
@rbayet
Copy link
Collaborator

rbayet commented Mar 7, 2024

Hello @vahonc,

Could you try to reproduce using the exact same versions of Magento, Elasticsuite and OpenSearch ?
The "type" parameter should have been removed everywhere in the code in 2.11.x since we introduced Elasticsearch 8 compatibility in the first place.

Regards,

@rbayet
Copy link
Collaborator

rbayet commented Mar 15, 2024

Hello @ebgreen,

I was not able to reproduce your issue on a fresh install of EE 2.4.6-p4 + Elasticsuite 2.11.5.1 + OpenSearch 1.2.4 (official docker image).

But since you mentionned an upgrade (Elasticsuite ? Magento ?), please run this command composer info opensearch-project/opensearch-php.
We've switched the Elasticsearch/OpenSearch PHP client requirement in 2.11.5 due to too many quirks in the legacy Elasticsearch PHP one.
You might not have upgraded all Elasticsuite dependencies when moving from an older version.

Regards

vahonc added a commit to vahonc/elasticsuite that referenced this issue Mar 26, 2024
Copy link

This issue was waiting update from the author for too long. Without any update, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Thanks for your contribution.

rbayet added a commit that referenced this issue Apr 10, 2024
…icsearch_8-compatibility

Fix #3205, remove type parameter in order to compatibility with Elasticsearch 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants