Installed Smile-sa elasticSuite for Magento 2.3.3 and when indexing it gives this error:

Catalog Search indexer process unknown error:
Notice: Undefined index: type_id in /srv/html/src/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Model/Product/Indexer/Fulltext/Datasource/PriceData.php on line 64

Debugging that line 64 with a var_dump, i see that the dump looks like this:

  array(7) {
    string(7) "1234566"
    string(3) "N/A"
    string(7) "Enabled"
    string(13) "Taxable Goods"
    string(4) "test"
    string(4) "test"
    string(4) "test"

Now, this is happening on a dev site as a replica of the live site (same data) and with all extensions and themes REMOVED.

Trying the same on a fresh magento install i get this dump:

  array(9) {
    string(4) "1996"
    string(2) "10"
    string(12) "configurable"
    string(5) "WSH06"
    string(19) "2020-04-16 11:36:46"
    string(19) "2020-04-16 11:36:46"
    string(1) "4"

Which is correct, and indeed smile-sa ElasticSuite looks for that type_id key, which is missing from the live server data dump.

What could cause this issue on live server?

Do you have any suggestions on what might be the solution here?



This was solved.

After installation, somehow the catalog/search/engine was set to mysql instead of elasticsuite.

Changing that to the right value solved the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.