Products not displayed on storefront (Home/Catalog etc).
See original GitHub issueProduct not displayed on storefront (Home/Catalog etc).
Issues with retrieve catalog of products from ES on storefront. See illegal_argument_exception in chrome console.
Error: {"root_cause":[{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [created_at] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"vue_storefront_catalog","node":"7NJgUxmQTLSF-IFOLsGdaw","reason":{"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [created_at] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."}}]}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:19
Top GitHub Comments
@dimasch still the same error (about created_at)? I used the opposite sequence: ‘’’ npm run restore npm run migrate ‘’’
But it shouldn’t make any difference. But maybe it does?😉
As for now you can change the elastic query in Home.vue to disable sorting by created_at field
Newer nodejs doesn’t make difference here
Does mage2nosql works for you?
I have the same problem can you help me?