question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Products not displayed on storefront (Home/Catalog etc).

See original GitHub issue

Product not displayed on storefront (Home/Catalog etc).

Issues with retrieve catalog of products from ES on storefront. See illegal_argument_exception in chrome console.

2017-10-20_22-36-16

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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:19

github_iconTop GitHub Comments

1reaction
pkarwcommented, Oct 21, 2017

@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?

0reactions
Chiragsorathiyacommented, Mar 13, 2020

I have the same problem can you help me?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Product is not displayed on storefront - Magento Support
This article provides solutions for when products are not displayed on storefront. Affected products and versions. Adobe Commerce on-premises ...
Read more >
How to Fix WooCommerce Products Not Showing?
1) Change the Catalog Visibility​​ The first and most common reason a WooCommerce page could be empty is improper catalog visibility settings. ...
Read more >
Why my products aren't shown for my category (store)
Hello, I enhanced the merchandise store with a new tab (existing ones are "Stuff","Clothes") The third tab is ... 1) Here the product...
Read more >
In Stock products not displaying in shop category page
Hello. I have a WooCommerce shop, and the Flatsome theme installed. I have spotted an issue where products that are in stock are...
Read more >
Some products are not showing up in our site
Resolution : 1. Scenario 1: Ensure that the product is online, searchable, and assigned to the Storefront catalog (it must belong to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found