Magento 2.3 Elastic Search 5.0+ Error on some pagesMagento 2.2.6 - Attribute with ID “Manufacturer” does...

Could an aircraft fly or hover using only jets of compressed air?

Java Casting: Java 11 throws LambdaConversionException while 1.8 does not

What's the point of deactivating Num Lock on login screens?

Watching something be written to a file live with tail

What does the "remote control" for a QF-4 look like?

Is it legal for company to use my work email to pretend I still work there?

NMaximize is not converging to a solution

What would happen to a modern skyscraper if it rains micro blackholes?

How do I deal with an unproductive colleague in a small company?

Can I ask the recruiters in my resume to put the reason why I am rejected?

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Is it unprofessional to ask if a job posting on GlassDoor is real?

Uncaught TypeError: 'set' on proxy: trap returned falsish for property Name

Mutually beneficial digestive system symbiotes

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Client team has low performances and low technical skills: we always fix their work and now they stop collaborate with us. How to solve?

Which country benefited the most from UN Security Council vetoes?

Can you really stack all of this on an Opportunity Attack?

expand `ifthenelse` immediately

Get value of a counter

How bulky would the original autograph of the Torah been?

Can I make popcorn with any corn?

Why do I get two different answers for this counting problem?

How does one intimidate enemies without having the capacity for violence?



Magento 2.3 Elastic Search 5.0+ Error on some pages


Magento 2.2.6 - Attribute with ID “Manufacturer” does not existIntegrating Elastic search in Magento EE 2.1.2Magento 2 Commerce Enable Elastic SearchMagento 2. Copy files from elastic search map to custom theme in MagentoMagento 2 URL Rewrite data share to Elastic Searchhow to configuration of elastic search in magento 2.3 beta?Magento 2.3 search results relevance with elasticsearch?Magento 2.3 : How to use Elastic search?Magento 2.3 Elastic Search 5+ Effecting Layered Navigation






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I am running Magento 2.3 and set up elastic search 5.0+ which works fine on most pages but in some, including layered navigation search results I get the following error:



1 exception(s):
Exception #0 (Exception): Notice: Undefined index: color_bucket in
/home/tthh/public_html/vendor/magento/module-
elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23


I've looked in Term.php and this is line 23:



foreach ($queryResult['aggregations'][$bucket->getName()]['buckets'] as 
$resultBucket) {


Lastly, with elastic search enabled, I randomly now cannot press on any of the layered navigation (shop by) choices, an ajax gif shows up but the results do not change.



Changing back to MySQL search works fine.



Any insight into sorting this would be appreciated.










share|improve this question





























    1















    I am running Magento 2.3 and set up elastic search 5.0+ which works fine on most pages but in some, including layered navigation search results I get the following error:



    1 exception(s):
    Exception #0 (Exception): Notice: Undefined index: color_bucket in
    /home/tthh/public_html/vendor/magento/module-
    elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23


    I've looked in Term.php and this is line 23:



    foreach ($queryResult['aggregations'][$bucket->getName()]['buckets'] as 
    $resultBucket) {


    Lastly, with elastic search enabled, I randomly now cannot press on any of the layered navigation (shop by) choices, an ajax gif shows up but the results do not change.



    Changing back to MySQL search works fine.



    Any insight into sorting this would be appreciated.










    share|improve this question

























      1












      1








      1


      1






      I am running Magento 2.3 and set up elastic search 5.0+ which works fine on most pages but in some, including layered navigation search results I get the following error:



      1 exception(s):
      Exception #0 (Exception): Notice: Undefined index: color_bucket in
      /home/tthh/public_html/vendor/magento/module-
      elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23


      I've looked in Term.php and this is line 23:



      foreach ($queryResult['aggregations'][$bucket->getName()]['buckets'] as 
      $resultBucket) {


      Lastly, with elastic search enabled, I randomly now cannot press on any of the layered navigation (shop by) choices, an ajax gif shows up but the results do not change.



      Changing back to MySQL search works fine.



      Any insight into sorting this would be appreciated.










      share|improve this question














      I am running Magento 2.3 and set up elastic search 5.0+ which works fine on most pages but in some, including layered navigation search results I get the following error:



      1 exception(s):
      Exception #0 (Exception): Notice: Undefined index: color_bucket in
      /home/tthh/public_html/vendor/magento/module-
      elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23


      I've looked in Term.php and this is line 23:



      foreach ($queryResult['aggregations'][$bucket->getName()]['buckets'] as 
      $resultBucket) {


      Lastly, with elastic search enabled, I randomly now cannot press on any of the layered navigation (shop by) choices, an ajax gif shows up but the results do not change.



      Changing back to MySQL search works fine.



      Any insight into sorting this would be appreciated.







      magento2 elasticsearch






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 29 '18 at 14:14









      Mehdi RafiaiMehdi Rafiai

      99115




      99115






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Same problem here with a different attribute:
          Exception #0 (Exception): Notice: Undefined index: belastbarkeit_bucket in /var/www/public/vendor/magento/module-elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23



          UPDATE: I found this not to be a problem in Magento, but in Elastic-Search. In order to upgrade our shop from Magento 2.2.6 to 2.2.7 (and later 2.3) we manually had to create a "manufacturer" attribute, as described here Magento 2.2.6 - Attribute with ID "Manufacturer" does not exist
          This attribute caused Elasticsearch to throw an exception because "manufacturer" was created as a text-field and fielddata is disabled on text-fields by default.
          The solution for us was to disable Search for the manufacturer-attribute ("Use in Search" => "No") in the Magento-Backend.






          share|improve this answer


























          • I only yesterday found out that it was caused by a module that was part of the theme, they included a layered navigation which they had updated, disabling it fixed the problem and I was still able to get the speed Elastic-Search offered. Your fix is duly noted though and I will try that by enabling the module again. The theme developer would appreciate knowing that if it sorts it. Thanks!

            – Mehdi Rafiai
            Jan 8 at 19:39





















          0














          Turned out is the filerable of tghe attributes. Need to turn some of them off.



          enter image description here



          enter image description here






          share|improve this answer








          New contributor




          John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f256157%2fmagento-2-3-elastic-search-5-0-error-on-some-pages%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Same problem here with a different attribute:
            Exception #0 (Exception): Notice: Undefined index: belastbarkeit_bucket in /var/www/public/vendor/magento/module-elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23



            UPDATE: I found this not to be a problem in Magento, but in Elastic-Search. In order to upgrade our shop from Magento 2.2.6 to 2.2.7 (and later 2.3) we manually had to create a "manufacturer" attribute, as described here Magento 2.2.6 - Attribute with ID "Manufacturer" does not exist
            This attribute caused Elasticsearch to throw an exception because "manufacturer" was created as a text-field and fielddata is disabled on text-fields by default.
            The solution for us was to disable Search for the manufacturer-attribute ("Use in Search" => "No") in the Magento-Backend.






            share|improve this answer


























            • I only yesterday found out that it was caused by a module that was part of the theme, they included a layered navigation which they had updated, disabling it fixed the problem and I was still able to get the speed Elastic-Search offered. Your fix is duly noted though and I will try that by enabling the module again. The theme developer would appreciate knowing that if it sorts it. Thanks!

              – Mehdi Rafiai
              Jan 8 at 19:39


















            1














            Same problem here with a different attribute:
            Exception #0 (Exception): Notice: Undefined index: belastbarkeit_bucket in /var/www/public/vendor/magento/module-elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23



            UPDATE: I found this not to be a problem in Magento, but in Elastic-Search. In order to upgrade our shop from Magento 2.2.6 to 2.2.7 (and later 2.3) we manually had to create a "manufacturer" attribute, as described here Magento 2.2.6 - Attribute with ID "Manufacturer" does not exist
            This attribute caused Elasticsearch to throw an exception because "manufacturer" was created as a text-field and fielddata is disabled on text-fields by default.
            The solution for us was to disable Search for the manufacturer-attribute ("Use in Search" => "No") in the Magento-Backend.






            share|improve this answer


























            • I only yesterday found out that it was caused by a module that was part of the theme, they included a layered navigation which they had updated, disabling it fixed the problem and I was still able to get the speed Elastic-Search offered. Your fix is duly noted though and I will try that by enabling the module again. The theme developer would appreciate knowing that if it sorts it. Thanks!

              – Mehdi Rafiai
              Jan 8 at 19:39
















            1












            1








            1







            Same problem here with a different attribute:
            Exception #0 (Exception): Notice: Undefined index: belastbarkeit_bucket in /var/www/public/vendor/magento/module-elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23



            UPDATE: I found this not to be a problem in Magento, but in Elastic-Search. In order to upgrade our shop from Magento 2.2.6 to 2.2.7 (and later 2.3) we manually had to create a "manufacturer" attribute, as described here Magento 2.2.6 - Attribute with ID "Manufacturer" does not exist
            This attribute caused Elasticsearch to throw an exception because "manufacturer" was created as a text-field and fielddata is disabled on text-fields by default.
            The solution for us was to disable Search for the manufacturer-attribute ("Use in Search" => "No") in the Magento-Backend.






            share|improve this answer















            Same problem here with a different attribute:
            Exception #0 (Exception): Notice: Undefined index: belastbarkeit_bucket in /var/www/public/vendor/magento/module-elasticsearch/SearchAdapter/Aggregation/Builder/Term.php on line 23



            UPDATE: I found this not to be a problem in Magento, but in Elastic-Search. In order to upgrade our shop from Magento 2.2.6 to 2.2.7 (and later 2.3) we manually had to create a "manufacturer" attribute, as described here Magento 2.2.6 - Attribute with ID "Manufacturer" does not exist
            This attribute caused Elasticsearch to throw an exception because "manufacturer" was created as a text-field and fielddata is disabled on text-fields by default.
            The solution for us was to disable Search for the manufacturer-attribute ("Use in Search" => "No") in the Magento-Backend.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 8 at 13:39

























            answered Jan 8 at 8:04









            T.EichmannT.Eichmann

            113




            113













            • I only yesterday found out that it was caused by a module that was part of the theme, they included a layered navigation which they had updated, disabling it fixed the problem and I was still able to get the speed Elastic-Search offered. Your fix is duly noted though and I will try that by enabling the module again. The theme developer would appreciate knowing that if it sorts it. Thanks!

              – Mehdi Rafiai
              Jan 8 at 19:39





















            • I only yesterday found out that it was caused by a module that was part of the theme, they included a layered navigation which they had updated, disabling it fixed the problem and I was still able to get the speed Elastic-Search offered. Your fix is duly noted though and I will try that by enabling the module again. The theme developer would appreciate knowing that if it sorts it. Thanks!

              – Mehdi Rafiai
              Jan 8 at 19:39



















            I only yesterday found out that it was caused by a module that was part of the theme, they included a layered navigation which they had updated, disabling it fixed the problem and I was still able to get the speed Elastic-Search offered. Your fix is duly noted though and I will try that by enabling the module again. The theme developer would appreciate knowing that if it sorts it. Thanks!

            – Mehdi Rafiai
            Jan 8 at 19:39







            I only yesterday found out that it was caused by a module that was part of the theme, they included a layered navigation which they had updated, disabling it fixed the problem and I was still able to get the speed Elastic-Search offered. Your fix is duly noted though and I will try that by enabling the module again. The theme developer would appreciate knowing that if it sorts it. Thanks!

            – Mehdi Rafiai
            Jan 8 at 19:39















            0














            Turned out is the filerable of tghe attributes. Need to turn some of them off.



            enter image description here



            enter image description here






            share|improve this answer








            New contributor




            John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              Turned out is the filerable of tghe attributes. Need to turn some of them off.



              enter image description here



              enter image description here






              share|improve this answer








              New contributor




              John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                Turned out is the filerable of tghe attributes. Need to turn some of them off.



                enter image description here



                enter image description here






                share|improve this answer








                New contributor




                John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                Turned out is the filerable of tghe attributes. Need to turn some of them off.



                enter image description here



                enter image description here







                share|improve this answer








                New contributor




                John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 14 mins ago









                John S.John S.

                11




                11




                New contributor




                John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                John S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f256157%2fmagento-2-3-elastic-search-5-0-error-on-some-pages%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    迭戈·戈丁...

                    A phrase ”follow into" in a context The 2019 Stack Overflow Developer Survey Results Are...

                    1960s short story making fun of James Bond-style spy fiction The 2019 Stack Overflow Developer...