• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Bug with `php artisan scout:import` on Bagisto v1.5.1 and Elasticsearch 7.17.13

Bug Report
2
6
798
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    andreaplansol last edited by 19 Sept 2023, 09:04

    I'm encountering an issue when trying to reindex products on Bagisto v1.5.1 using Elasticsearch 7.17.13, following the guide provided in the BagistoDevDocs

    When I run the following command:

    php artisan scout:import Webkul\Product\Models\ProductFlat
    

    I'm getting the following error message:

    In ForwardsCalls.php line 71:
    Call to undefined method Webkul\Product\Models\ProductFlat::makeAllSearchable()
    

    It seems like there is an issue with the makeAllSearchable() method.

    Could you please provide guidance on which command I should use to reindex my products correctly?

    Thank you for your assistance.

    ashish2409 1 Reply Last reply 19 Sept 2023, 10:47 Reply Quote 0
    • ashish2409
      ashish2409 @andreaplansol last edited by 19 Sept 2023, 10:47

      @andreaplansol
      As per checking the concern in core Bagisto,
      This method does not exist in our bagisto. If you are using this method in your project Product Section. You Need to define this method in you modal ProductFlat.
      Once you do that you will not be able to see such issue.
      In case you find any issue please do let us know.

      A 1 Reply Last reply 19 Sept 2023, 12:10 Reply Quote 0
      • A
        andreaplansol @ashish2409 last edited by 19 Sept 2023, 12:10

        @ashish2409 well, if it is the case don't you think you'll need to update your documentation and remove the index section?
        here

        ashish2409 1 Reply Last reply 20 Sept 2023, 04:17 Reply Quote 0
        • ashish2409
          ashish2409 @andreaplansol last edited by 20 Sept 2023, 04:17

          @andreaplansol

          As per your concern, i checked again and our documentation is updated, please follow the below link for the elastic search configuration.

          Link - https://devdocs.bagisto.com/1.5.x/advanced/indexing-products-to-elasticsearch.html#checking-indexes

          Once the above steps are followed and completed you need to go to
          Admin -> Configure -> Catalog -> Product -> Search Mode -> Select Elastic Search

          A 1 Reply Last reply 25 Sept 2023, 14:01 Reply Quote 0
          • A
            andreaplansol @ashish2409 last edited by 25 Sept 2023, 14:01

            @ashish2409 Thank you! Indeed i was referring to the 1.x version of the documentation.

            ashish2409 1 Reply Last reply 26 Sept 2023, 05:38 Reply Quote 0
            • ashish2409
              ashish2409 @andreaplansol last edited by 26 Sept 2023, 05:38

              @andreaplansol

              I hope this helps you in your query.
              In case you find any issue do let us know.

              Thank You.

              1 Reply Last reply Reply Quote 0
              5 out of 6
              • First post
                5/6
                Last post